Question 8: Project

Daniel is thrilled to explore the Roblox store and enhance his gaming experience. He wants to purchase the game, select a game pass, buy some avatar outfits, and maybe even get a pet! Additionally, he’s considering buying some Robux to unlock more features. Write a Python program to help Daniel calculate the total cost of his Roblox adventure.

Daniel’s journey through the Roblox store involves several steps:

  1. First, he needs to purchase the game itself, which costs $150.
  2. Daniel will then log in to his account using his username and password.
  3. Next, he can choose between two game passes: the VIP pass for $50 or the Premium pass for $120.
  4. Daniel can also browse through three different avatar outfits, each with its own price tag.
  5. Additionally, Daniel has the option to add a pet to his gameplay for an additional $40.
  6. Finally, he can purchase Robux: 800 Robux for $10, 2000 Robux for $25, or 4500 Robux for $50.

After making his selections, Daniel wants to see the total cost of his Roblox adventure. Let’s create a Python program to help him out.

Write what you are looking for, and press enter to begin your search!