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.

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter7: Creating Templates, Importing Data, And Working With Smartart, Images, And Screenshots
Section: Chapter Questions
Problem 19AYK
icon
Related questions
Question
  1. Go to your main.py file.

  2. 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.

  3. Next, print 10 underscores as the top border of the table.

  4. On the first line print your whole number, then multiply your whole number by multiples of 2's till 10 and print that out.

  5. Finally, print 10 underscores again for the bottom border of the table, as in step 3.

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

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Data Binding
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L