Skip to main content
added 6 characters in body
Source Link
gommb
  • 1.1k
  • 1
  • 7
  • 21

You can use a dictionary:

dicta_dict = {'Minecraft': 'HighMinecraftScore', 'Mario': 'HighMarioScore'}

and access them by dict['Minecraft']a_dict['Minecraft'] or dict['Mario']a_dict['Mario']

You can use a dictionary:

dict = {'Minecraft': 'HighMinecraftScore', 'Mario': 'HighMarioScore'}

and access them by dict['Minecraft'] or dict['Mario']

You can use a dictionary:

a_dict = {'Minecraft': 'HighMinecraftScore', 'Mario': 'HighMarioScore'}

and access them by a_dict['Minecraft'] or a_dict['Mario']

Source Link
gommb
  • 1.1k
  • 1
  • 7
  • 21

You can use a dictionary:

dict = {'Minecraft': 'HighMinecraftScore', 'Mario': 'HighMarioScore'}

and access them by dict['Minecraft'] or dict['Mario']