Created
March 28, 2020 02:21
-
-
Save oddjobz/224d267575c8ceea7da6a339061bcbb2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> for doc in people.find(): | |
... print('Name: {name:20} Age:{age:3}'.format(**doc)) | |
... | |
Name: Fred Bloggs Age: 21 | |
Name: Joe Smith Age: 22 | |
Name: John Doe Age: 19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment