0

student={"name":"inba","marks":850} print ("keys are") for i in student : print (i).

What is an error in this code

15th May 2023, 5:22 AM
Dineshkumar Dineshkumar
Dineshkumar Dineshkumar - avatar
1 Réponse
+ 3
the print(i) statement is not indented after the for loop header student = {"name": "inba", "marks": 850} print("keys are:") for i in student: print(i) here's corrected code
15th May 2023, 5:37 AM
Just Some Random Guy
Just Some Random Guy - avatar