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
Biology,
2 months ago
Computer Science,
2 months ago
Science,
5 months ago
Biology,
11 months ago
Biology,
11 months ago