Rewrite the following code in python after removing all the syntax error(s). [2]
Underline each correction in the code.
50=x
for i in range(0,x)
IF i%4==0:
print(i*4)
Else:
print(i+3)
Answers
Answered by
2
Explanation:
hope it is helpful to u. .............
Attachments:
Answered by
0
Explanation:
50=x
for i in range(0,x)
IF i%4==0:
print(i*4)
Else:
print(i+3)
Correction :
x = 50
for i in range(0,x)
if i%4==0:
print(i*4)
else:
print(i+3)
Similar questions