Computer Science, asked by rollrohitkumar3, 3 months ago

Rewrite the following code in Python after removing all syntax error(s). Underline each correction done

in the code.

Value=30

for VAL in range(0,Value)

if val % 4 == 0:

print (VAL*4)

elif VAL = 0:

print (VAL+3)

else :

print(VAL+10)

2

Answers

Answered by unnati202016
0

Answer:

which class is this question related to?

Answered by zahab5253
0

CORRECTED CODE:

Value = 30

for VAL in range(0,Value) : # Error 1

if val%4==0: # Error 2

print (VAL*4)

elif val%5==0: # Error 3

print (VAL+3)

else: # Error 4

print(VAL+10)

Similar questions