Question: GIven the provided variables, write a SINGLE call to the print function that generates the following output. Fruit Amount Apple 1 2 Pear 7 2

GIven the provided variables, write a SINGLE call to the print function that generates the following output.
Fruit Amount
Apple 12
Pear 72
Peach 6
Hint: you may need to use the sep and end keyword arguments, as well as escape chracters ("??
" and "??t") to generate your output.
Here are some rules that you will need to follow to solve this part of the assignment:
Ensure that you leave your print call within the print_table function provided in the scaffolding, as this is what the auto-grader will call
Ensure that you are only writing one call to the print function. Our graders will only consider one line of code.
Do not use string literals in your call to the print function. The auto tester will be using different variable values, and you won't pass these tests if you "hard code" your values into the print function.
 GIven the provided variables, write a SINGLE call to the print

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!