hallo hab den ganzen tag rumm gemacht und das ist rausgekommen:
import time
nummern = [ #mit zeilen abgrenzungen
[" ### "," # # ","# #","# #","# #"," # # "," ### ",],
[" # "," ## "," # # "," # "," # "," # "," ##### ",],
[" ### "," # # "," # "," ## "," # "," # "," ##### ",],
[" ### "," # # "," # "," ## "," # "," # # "," ### ",],
[" # "," ## "," # # "," # # "," ######"," # "," # ",],
[" ##### "," # "," # "," #### "," # "," # # "," ### ",],
[" ### "," # # "," # "," #### "," # # "," # # "," ### ",],
[" ##### "," # "," # "," # "," # "," # "," # ",],
[" ### "," # # "," # # "," ### "," # # "," # # "," ### ",],
[" ### "," # # "," # # "," #### "," # "," # # "," ### ",],]
def mache_nummer(a,b): # ziffer 1 ziffer 2
num_a = nummern[a]
num_b = nummern[b]
zähler = 0
out = ""
while zähler != 7 :
out += num_a[zähler]
out += " "
out += num_b[zähler]
out += "\n"
zähler += 1
print(out)
zähler = 0
while zähler != 10 :
for z2 in range(0,10):
mache_nummer(zähler,z2)
time.sleep(1)
zähler += 1
es gibt in 7 segment askii stile die zahlen 1 biss 99 so aus :(mach es aber jetzt nicht in ascii)
01
02
03
04
05
06
07
08
09
10
11
12
13...
will es aber soo haben :
1
2
3
4
5
6
7
8
9
10
11
12...
das man auch weiter als 99 zählen kann
hilfe?