# Lucas's Python Lesson Number 3 carrots = 5 apples = 2 fruit = carrots + apples print(fruit) # Order of operations # Stuff in the brackets happens first pears = 2 (carrots + apples) * pears # List - we did this yesterday games = ['dota', 'doom', 'minecraft'] # Print first game in the list print(games[0]) # Map - holds a key and value # Create a maps of people's favourite games games = {'ai' : 'terraria', 'dad' : 'doom', 'lucas' : 'minecraft'} # Print Ai's favourite change print(games['ai']) # Removes Ai's favourite game del games['ai'] # Add Ai's favourite game games['ai']='spelunky' # Print Ai's new favourite change print(games['ai'])