Part 2 Next, write 10 new functions that generate the digits 0-9 using your three line functions. The goal here is to render the digits as they would...
Python file (Please comment steps and post screenshot of your output. Thanks)
- Attachment 1
- Attachment 2
- Attachment 3
- Attachment 4
- Attachment 5
Part 2 Next, write 10 new functions that generate the digits 0-9 using your three line functions. The goal here is to render the digits as they would appear on a digital display: Each function should accept a "width" argument to control how wide the number should be. You can assume numbers will always be printed with a height of 5. For example, here isthe function for the number 1: # function: number_1 # input: a width value (integer) # processing: prints the number 1 as it would appear on a digital display# using the supplied width value # output: returns nothing def number_1(width):line(width—1,5)
Show more