Question 3: Variables

Write a Python program to display information about a favorite sports player.

  1. Create a variable called player_name and assign it the name of a famous player (e.g., "Lionel Messi").
  2. Create a variable called sport and assign it the sport they play (e.g., "Football").
  3. Create a variable called team and assign it the name of their current team (e.g., "Inter Miami").
  4. Create a variable called awards and assign it the number of major awards they have won (e.g., 7).
  5. Use the print function to display the following:
    • The player’s name and sport: "The sports player is [player_name], and they play [sport]."
    • The team: "They are currently part of [team]."
    • The awards: "They have won [awards] major awards in their career."
Write what you are looking for, and press enter to begin your search!