Skip to content

Instantly share code, notes, and snippets.

@ayush3298
Created February 4, 2019 09:08
Show Gist options
  • Select an option

  • Save ayush3298/ff200a2fb5d5eb060b27bbd9a3abccf0 to your computer and use it in GitHub Desktop.

Select an option

Save ayush3298/ff200a2fb5d5eb060b27bbd9a3abccf0 to your computer and use it in GitHub Desktop.
dict_person = {
"name": "Leandro",
"nickname": "Len",
"nationality": "American",
}
dict_person['age'] = 24
print("My name is %s" %(dict_person["name"]))
print("But you can call me %s" %(dict_person["nickname"]))
print("And by the way I'm %i and %s" %(dict_person["age"], dictionary_tk["nationality"]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment