Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant Navathe

7th Edition

0133970779, 978-0133970777

More Books

Students also viewed these Programming questions

Question

What is a social role? (p. 30)

Answered: 1 week ago

Question

If I called your former employers, what would they say about you?

Answered: 1 week ago