Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
