Computer Science, asked by shivangiraj66, 5 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)

Elseif val%5==0:

print (VAL+3)

else

print(VAL+10)​

Answers

Answered by udayagrawal49
24

Answer:

Value=30

for VAL in range(0,Value) :

    if VAL%4==0:

         print (VAL*4)

    elif VAL%5==0:

         print (VAL+3)

    else:

         print(VAL+10)

Please mark it as Brainliest.

Answered by keyboardavro
2

Answer:

Explanation:

Value=30

for VAL in range(0,Value) :

   if VAL%4==0:

        print (VAL*4)

   elif VAL%5==0:

        print (VAL+3)

   else:

        print(VAL+10)

Similar questions
Math, 9 months ago