SHARE
TWEET

Untitled

a guest Feb 23rd, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if __name__ == '__main__':
  2.     prog = '''
  3.         s0 s1 s2 s3 s4 t1 t2 t3
  4.     0 > 1< >t1 _>t1 >t1 > . .
  5.     1 > 0<s2 >t1 . >t1 > > <
  6.     _ <s1 =end >s3 . >end >t2 1<t3 <s1
  7.     '''
  8.     t = Turing(prog, '10011')
  9.     print(t.prog)
  10.     print(t.rob(470))
  11.     print('vysledok =', t.text())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top