Given two arbitrary numbers, print a digital LED pattern. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Given two arbitrary numbers, print a digital LED pattern.

Hello! I found this exercise on stackexchange and I’ve been trying to find a way to do it but my brain is fried from sudying lmao. Please keep in my I’m a newbie to all this, so I only know the basics, up until functions and lists. So it would be useful if someone could explain it to me in really basic terms. Any help is appreciated! Thanks in advance. I thought of using functions, maybe lists? Honestly idk https://codegolf.stackexchange.com/questions/19196/transform-number-into-7-segment-display-pattern

2nd Sep 2018, 3:04 PM
JOSEFA IBANEZ SAENZ
JOSEFA IBANEZ SAENZ - avatar
3 Answers
+ 10
https://code.sololearn.com/cWY7D3IQ4HP4/?ref=app https://code.sololearn.com/c5sooSED3RN8/?ref=app
2nd Sep 2018, 8:40 PM
Anna
Anna - avatar
+ 2
use a table where you store each character line by line
2nd Sep 2018, 3:43 PM
VcC
VcC - avatar
0
Try getting a Micro:Bit. they are perfect for javascript and python and reach you how to code LEDs at the sane time. they are made by the BBC and are affordable £26. they are a but like a raspberry pi
23rd Sep 2018, 11:51 AM
Alexander Wood
Alexander Wood - avatar