How To get Data from Dictionary in python?.

student={'name':'test','age':22,'fee':17.6} 
print(student)
print(student['age'],student['name'])

Leave a Reply

Your email address will not be published. Required fields are marked *