Computer Science, asked by issacjosy, 9 months ago

c) Find out errors if any, and correct the code by rewriting it and underline
the Corrections.
Z=int("enter the value for Z")
S=0
for i in range(10, Z, 3)
S=+i
if i%2=0:
print (i*2)
Else :
print(i*3)​

Answers

Answered by sidhant014
0

Answer:

I think at start you have to write input not int

Z=input("enter the value for Z")

if this is the correct answer then

please please mark me as brainliest please

Answered by riya0104
0
Your mistakes are corrected by pink ink pen,

Please mark my answer as brainliest if this helps you ^_^



Explanation:
In first line you want to input value so ‘input command’ must be given
Then while using for loop you want put colon(:) after the condition.
Then in 4th line u need to write s also,
Then in 7th line, ‘Else’ is written, (You must take care of case while using keywords).
Attachments:
Similar questions