Create a python file called printNumbers.py Each solution is worth 5 points Execute the file and test
Fantastic news! We've Found the answer you've been seeking!
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 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!
Related Book For
Fundamentals Of Database Systems
ISBN: 9780133970777
7th Edition
Authors: Ramez Elmasri, Shamkant Navathe
Posted Date: