Write a script that takes a whole number from a users input


Problem

Write a script that takes a whole number from a user's 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 user's 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.

Run the file by using the python3 main.py command.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Write a script that takes a whole number from a users input
Reference No:- TGS03293530

Expected delivery within 24 Hours