Question 8: Variables

Write a Python program to display details about the popular game Minecraft.

  1. Create a variable called game_name and assign it the name of the game (e.g., "Minecraft").
  2. Create a variable called main_character and assign it the name of the main character (e.g., "Steve").
  3. Create a variable called game_mode and assign it the name of the main game mode (e.g., "Survival").
  4. Create a variable called favorite_block and assign it the name of a favorite block in the game (e.g., "Diamond Block").
  5. Use the print function to display the following:
    • The game and character: "The game I am playing is [game_name], and the main character is [main_character]."
    • The game mode: "I am playing in [game_mode] mode."
    • The favorite block: "My favorite block in the game is the [favorite_block]."
Write what you are looking for, and press enter to begin your search!