a guest Feb 23rd, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- if __name__ == '__main__':
- prog = '''
- s0 s1 s2 s3 s4 t1 t2 t3
- 0 > 1< >t1 _>t1 >t1 > . .
- 1 > 0<s2 >t1 . >t1 > > <
- _ <s1 =end >s3 . >end >t2 1<t3 <s1
- t = Turing(prog, '10011')
- print('vysledok =', t.text())
RAW Paste Data