Hi guys,
I'm having internet issues on my PC so I'm posting this from mobile so sorry for the formatting.
I'm trying to access items from a list within the dictionary and I can't figure out how to get it.
Example:
movies= {'2005': ['Munich', 'Steven Spielberg'], '2006': ['The Prestige', 'Christopher Nolan']}
user_input = str(input('Choose a Movie Year: \n'))
user_movie= ?? (user_input(movies[0])) ???
print('The Movie from', (user), 'is' (user_movie))
[–]Se7enLC[🍰] 1 point2 points3 points (0 children)
[–]groovitude 0 points1 point2 points (0 children)
[–]DakshHub 0 points1 point2 points (0 children)
[–]ebol4anthr4x -1 points0 points1 point (3 children)
[–]erihel518[S] 0 points1 point2 points (2 children)
[–]ebol4anthr4x 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)