Python exercise to convert natural numbers to LCD format
This program receives 3 parameters:
number
height
width
The parameter number will be transformed from its digital format to an analog format. Using the height and width parameters respectively. For example:
number = 145
width = 2
height = 3
__
| | | |
| | | |
| | | |
__ __
| | |
| | |
| | |
__
Try it:
> main.py