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

for Name in [Ramesh, Suraj, Priya] 

if Name [0] = ‘S’: 

Print (Name)

5 views

1 Answers

for Name in [“_Ramesh_”, “_Suraj_”, “_Priya_”]

if Name [0] =_=‘S’ :

print (Name)

5 views