CSC 250: Numbers

In this assignment, you will write a program that accepts a single number as input. The number must be no longer than three digits.

After checking that the input is indeed numeric and is of the appropriate length, you should print out the number with “large” character-art text. Each of the numbers will be on their own line. You should name this file numbers.py.

Below are several examples of this program running:

Examples:

Enter number to display big: 12345
That number is too long!
Enter number to display big: hi there
That is not numeric!
Enter number to display big: 104
 __ 
/_ |
 | |
 | |
 | |
 |_|
  ___   
 / _ \ 
| | | |
| | | |
| |_| |
 \___/ 
 _  _   
| || |  
| || |_ 
|__   _|
   | |  
   |_|  
Enter number to display big: 789
 ______ 
|____  |
    / / 
   / /  
  / /   
 /_/    
  ___  
 / _ \ 
| (_) |
 > _ < 
| (_) |
 \___/ 
  ___  
 / _ \ 
| (_) |
 \__, |
   / / 
  /_/  
Enter number to display big: 32
 ____  
|___ \ 
  __) |
 |__ < 
 ___) |
|____/ 
 ___   
|__ \  
   ) | 
  / /  
 / /_  
 |____|
Enter number to display big: 56
 _____ 
| ____|
| |__  
|___ \ 
 ___) |
|____/ 
   __  
  / /  
 / /_  
| '_ \ 
| (_) |
 \___/ 
Enter number to display big: 1
 __ 
/_ |
 | |
 | |
 | |
 |_|

Formatting and Comments

All of your code should be well-formatted and properly indented. You should follow a consistent style, and name your variables and function well. Your program file should have a header comment at the beginning of the following form:

#
# Author: Your name
# Description: A brief description of what your program does
#

Turning it In

This assignment is due on 2/2/2018 at 5:00pm. You should turn it in to the D2L dropbox before this time. Remember to name your file correctly.