print() entfernt

This commit is contained in:
Artem Didytschuk 2021-04-11 19:15:51 +02:00
parent db98dc4f55
commit f017eadd71
1 changed files with 0 additions and 4 deletions

View File

@ -11,25 +11,21 @@ def scan_word(state, word):
# Übergangsfunktion
if state == 0:
print("state0")
if char == "0":
return scan_word(0,word) or scan_word(1,word)
elif char in "123456789":
return scan_word(0,word)
elif state == 1:
print("state1")
if char == "0":
return scan_word(0,word) or scan_word(2,word)
elif char == "123456789":
return scan_word(0,word)
elif state == 2:
print("state2")
if char in "67":
return scan_word(0,word) or scan_word(3,word)
elif char in "1234589":
return scan_word(0,word)
elif state == 3:
print("state3")
if char in "0123456789":
return scan_word(3,word)