Courseiva

PCEP

Full exam simulation

45:00
1

Computer Programming and Python Fundamentals

easy

Consider the following code:

x = input('Enter a number: ')

print(x + x)

A user enters 5 at the prompt. What is printed?

Exhibit

Refer to the exhibit.
# Python script: convert.py
x = input('Enter number: ')
y = x * 2
print(y)
--- End of exhibit ---
0 of 178 answered