Hey Tryit editor not working for popitem()function in python in Suggestions Posted September 8, 2020 Try this code and you will find error with tryit editor in W3school m ={ 1:'name',2:'game'} print(m.popitem()) print(m) Instead of deleting the last element it deletes the first element.
Hey Tryit editor not working for popitem()function in python
in Suggestions
Posted
Try this code and you will find error with tryit editor in W3school
m ={ 1:'name',2:'game'}
print(m.popitem())
print(m)
Instead of deleting the last element it deletes the first element.