Rewrite the following code in python after removing all syntax error(s).
Underline each correction done in the code.
100 = Limit
for X in range (0, Limit )
IF X % 4 == 0 :
print ( K + 10)
Else :
print ( K – 10 )
Answers
Answered by
2
To = 30 for K in range(0,To) :
if k%4==0:
print (K*4) else:
print (K+3)
Similar questions