Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a function called playerSetup ( ) . The function will take no parameters. In the function you should ask for 3 separate pieces of
Create a function called playerSetup The function will take no parameters. In the function you
should ask for separate pieces of information; first name, last name and bankamount can bet
First name and last name should be formatted to be capitalized regardless of what the user
enters.
a
Bank needs to be
If the user enters a value less than or equal to then a string should be returned
starting they do not have enough money to play.
i
If the user enters a value greater than the function returns a list containing the all of
the entered data. The output will look similar to the following.
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