Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import json
def greet(**users):
for key,value in users.items():
print(f'{key} => {value}.')
def main():
greet(user='Tom', city='London', pet=['Dog', 'Cat', 'Fish'])
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment