There is no standard way of doing this, you have to use your creativity! One thing to keep in mind is there are multiple ways of drawing "1".
d
Dominaezzz
06/18/2021, 11:18 AM
Ah yeah you need a "font".
h
Hovhannes
06/18/2021, 11:21 AM
@Zun, not only drawing 1. The program must draw any number based on input number
z
Zun
06/18/2021, 11:53 AM
Yes and how is the program supposed to know how to draw any number? You need to train/instruct it somehow. An example would be to load a font file and tell your code to draw ascii art using that font. Another option is to draw these by hand if you don't want to use a font file