Coding task · Python course · Module 4: Data, APIs and Databases

MongoDB Insert

Insert a document into MongoDB

Task

Insert the document animal = {'name': 'Tygrys', 'weight': 200} into the 'animals' collection