Skip to content

Instantly share code, notes, and snippets.

@jamilnoyda
Last active October 19, 2019 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamilnoyda/d74c1889fb47bf5c832755f4db5c1f8f to your computer and use it in GitHub Desktop.
Save jamilnoyda/d74c1889fb47bf5c832755f4db5c1f8f to your computer and use it in GitHub Desktop.
# wrong one!
wrong_dict = {1: 'Geeks', 2: 'For', 3:{'A' : 'Welcome', 'B' : 'To', 'C' : 'Geeks'}}
# right one!
right_dict = {
1: 'hi',
2: 'there',
3: {
'A': 'how',
'B': 'are',
'C': 'you!'
},
# 4: 'their',
}
my_list =[
1,
'a',
'b',
2,
#3
]
YEAR_IN_SCHOOL_CHOICES = [
('FR', 'Freshman'),
('SO', 'Sophomore'),
('JR', 'Junior'),
('SR', 'Senior'),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment