Answered step by step
Verified Expert Solution
Question
1 Approved Answer
REMINDER: Do not use any Python structures that we have not learned in class. For this specific assignment, you may use everything we have learned
REMINDER: Do not use any Python structures that we have not learned in class. For this specific assignment, you may use everything we have learned up to, and including, variables, types, mathematical and boolean expressions, user IO (i.e. print ( ) and input ( )), number systems, and the math / random modules, selection statements (i.e. if, elif, else), and for-and while-loops. Please reach out to us if you're at all unsure about any instruction or whether a Python structure is or is not allowed. Do not use, for example, user-defined functions (except for main ( ) if your instructor has covered it during lecture), string methods, file i/o, exception handling, dictionaries, lists, tuples, and/or object-oriented programming. Failure to abide by any of these instructions will make your submission subject to point deductions. _et's say that you are tasked with writing the final money counter program for a Monopoly-like video game. If you don't know what Monopoly is, don't worry; all you need to know is that at the end of each game of Monopoly game, all of the players will have a certain amount of money, and the person with the most amount of money wins kind of a terrible concept). So, your task is to write a program that 1. Asks the user how many players will be playing in this round of Monopoly. This value must be a positive, non-zero integer, but you can assume that the user will never enter a float value. 2. Once they do so, each player will enter the values of each of their properties/assets. You can assume that these will always be positive numerical values or the characters "DONE" when they are finished. 3. Once a player enters all the values, the game will print out the sum of the assets' values. 4. The program repeats steps 2 and 3 until all players have been accounted for. 5. At the very end, the program will print a congratulatory message to the winner. You don't have to worry about two players getting the same score. Here's a sample execution. Yours doesn't need to look exactly like hours, but it must interact with, and show the same information to, the users: README.md Player 3 has 40.0 dollars. Congratulations, player 2 ! You won with $3041.65
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started