PCEP • Practice Test 16
Free PCEP practice test — 15 questions with explanations. Set 16. No signup required.
A junior developer is writing a script to read a number from input and double it. They write:
num = input("Enter a number: ") result = num * 2
print(result)When they test with input 5, the output is '55' instead of 10. What is wrong?