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 3 separate pieces of information; first name, last name and bank(amount can bet).
First name and last name should be formatted to be capitalized regardless of what the user
enters.
a.
Bank needs to be >0.
If the user enters a value less than or equal to 0 then a string should be returned
starting they do not have enough money to play.
i.
If the user enters a value greater than 0 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!