Question: CHALLENGE ACTIVITY 3 . 8 . 3 : String formatting. 5 4 7 1 4 8 3 1 5 4 6 4 2 q x

CHALLENGE
ACTIVITY
3.8.3: String formatting.
5471483154642 q x32zgy7
my_name and total_apples are read from input as a string and an integer, respectively. Use an f-string to output the following on one line:
The value of my_name
' bought 5 apples, so now they have'
The value of total_appleiplus 5
Click here for example
1 my_name = input ()
total_apples = int input ()
 CHALLENGE ACTIVITY 3.8.3: String formatting. 5471483154642 q x32zgy7 my_name and total_apples

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!