fork(3) download
  1. #!/usr/bin/python
  2. import turtle
  3. t=turtle
  4. turtle.speed(0)
  5.  
  6. for i in range(360) :
  7. for c in ['red', 'blue']: # типа цвет
  8. t.color(c)
  9. t.forward(Х)
  10. t.left(Х)
  11. for i in range(360) :
  12. for c in ['red', 'blue']:
  13. t.color(c)
  14. t.forward(Х)
  15. t.left(Х)
  16.  
  17.  
  18. turtle.done()
  19. turtle.exitonclick()
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/py_compile.py", line 117, in compile
    raise py_exc
py_compile.PyCompileError: SyntaxError: ('invalid syntax', ('prog.py', 9, 13, '\t\tt.forward(\xd0\xa5) \n'))

stdout
Standard output is empty