Find errors in the following Python program: x = int(input(‘enter a number’))) x*2 = y Print (“answer :”, y)
Answers
Answered by
1
Answer:
Extra ) at the end of first line and in second line y=x*2 should be present because assignment works fron left to right
Explanation:
Correct program:
x = int(input(‘enter a number’))
y = x * 2
print (“answer :”, y)
Similar questions