Question: using python: 4. Multiplication table Write a function multiplication_table(), that prints out a 10x10 multiplication table. Displays a multiplication table for 10 x 10. 1
using python:


4. Multiplication table Write a function multiplication_table(), that prints out a 10x10 multiplication table. Displays a multiplication table for 10 x 10. 1 N 3 4 UT 6 7 00 9 10 : 4 8 : 12 1 2 3 4 5 6 7 8 2 4 6 8 10 12 14 16 18 20 3 6 9 12 15 18 21 24 27 30 5 10 15 20 25 30 35 40 45 50 16 20 24 28 32 36 40 6 12 18 24 30 36 42 48 54 7 14 21 28 35 42 49 56 63 8 16 24 32 40 48 56 64 72 80 9 18 27 36 45 54 63 72 81 90 10 20 30 40 50 60 70 80 90 100 : 9 : 8 9 10 10 60 70 5. Change calculator Write a function change() that will print the amount of change required. Prompt the user for the cost and the amount paid. The change should be displayed as the smallest number of dollars and coins equal to that amount. For example: the shopping cost is $2.72 and the customer paid $5.00, your function will display: 2 dollar(s), 1 quarter(s), 0 dime(s), 0 nickel(s) and 3 penny(s) Do this without using a loop or conditionals, you can use // and % to calculate exactly what is needed in one pass. 7. Converting formulas Write a function simple_formula() that calculates and displays the result of x given by the formula below. Allow the user to specify how many equations they wish to calculate, then for each equation allow the user to input the numeric values of a and b. 2b X = - 7a + Vb + To
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
