Dictionary3 Example in Python

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

Leave a Reply

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