Computer Science, asked by jacobjacob6759, 9 months ago

Rewrite the following code in Python after removing all syntax error(s).

Underline each correction done in the code.

for student in [tamil,english,hindi]

If Student [0] = ‘s’:

print (student)​

Answers

Answered by pavithranatarajan855
1

Answer:

for student in ['tamil','english','hindi']:  #here words must be give as string

#colon missing after loop

if student [0] == 's':   #student is case sensitive

#comparison operator ==

#if is keyword

print(student)

Explanation:

Similar questions