Question: zyBooks catalog ( ? ) Help / FAQ Maddie Lytl Read string person _ name from input. Then, read total _ coins from input, using

zyBooks catalog
(?) Help/FAQ
Maddie Lytl
Read string person_name from input. Then, read total_coins from input, using int) to convert the input read to an integer.
Click here for example
Ex. If the input is:
Ada
13
then the output is:
Ada lost 4 coins, so 9 are left
1
2 person_name = "Ada"
3 total_coins = input (int (D)
4
5
6 print(person_name, 'lost 4 coins, so', total_coins -4, 'are left')
 zyBooks catalog (?) Help/FAQ Maddie Lytl Read string person_name from input.

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!