1.

Rewrite the following code in python after removing all syntax error(s). Underline each correction done in the code.30 = Tofor K in range(0,To)IF k%4==0:print (K*4)Else: print (K + 3)

Answer»

To = 30 for K in range(0,To) :

if k%4==0:

print (K*4)

else:

print (K+3) 



Discussion

No Comment Found

Related InterviewSolutions