Question: Write a script that takes a whole number from a user s input and prints out its 2 ' s multiplication table till 1 0

Write a script that takes a whole number from a users input and prints out its 2's multiplication table till 10.
Steps for Completion
Go to your main.py file.
On the first line, add a docstring explaining what your file does. Then, assign a variable called whole_num to the users input and cast it to an integer.
Next, print 10 underscores as the top border of the table.
On the first line print your whole number, then multiply your whole number by multiples of 2's till 10 and print that out.
Finally, print 10 underscores again for the bottom border of the table, as in step 3.

Step by Step Solution

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