Rewrite the following code in Python after removing all syntax error(s). Underline each correction done in the code.
Rewrite the following code in Python after removing all syntax error(s). Underline each correction done in the code.
for student in [Jaya, Priya, Gagan]
If Student [0] = ‘S’:
print (student)
9 views
2 Answers
for studednt in values [“Jaya”, “Priya”, “Gagan”]:
if student [0] = = “S”
print (student)
9 views
Answered