6 lines
129 B
Python
6 lines
129 B
Python
|
|
student = {'name': 'John', 'age': 25, 'courses': ['Math', 'CompSci']}
|
|
|
|
for key, value in student.items():
|
|
print(key, value)
|