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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Fundamentals Of Database Systems
Authors: Ramez Elmasri, Shamkant Navathe
7th Edition
0133970779, 978-0133970777
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App