0
student={"name":"inba","marks":850} print ("keys are") for i in student : print (i).
What is an error in this code
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