Skip to content

Python exercise to convert natural numbers to LCD format

Notifications You must be signed in to change notification settings

dany-herz42/number-to-LCD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

number-to-LCD

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

About

Python exercise to convert natural numbers to LCD format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages