Question: Create a python file called printNumbers.py Each solution is worth 5 points Execute the file and test it multiple times using different input values. Submit

Create a python file called printNumbers.py

Each solution is worth 5 points

Execute the file and test it multiple times using different input values.

Submit the python file to the assignment

Ask the user to enter

a. a number x. Use the sep optional argument to print out x, 3x, 6x, 9x, and 12x, each separated by three # symbols, like below.

b. a number y. Use the sep argument to print out x+y, 2(x+y), 4(x+y), 8(x+y), each separated by one : symbol, like below.

c. Using the values from task b, Print x*x + y*y

d. Create a PEMDAS statement of your choice and include a statement to print the output. Be creative!

Step by Step Solution

3.53 Rating (150 Votes )

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 Programming Questions!