SaveText.Ru

ответы
  1. 1
  2.  
  3. for nezashto in range(9):
  4.     move_up()
  5. move_right()
  6. fill_cell()
  7. for karina in range(9):
  8.     move_down()
  9.     fill_cell()
  10. move_right()
  11. for nezashto in range(9):
  12.     move_up()
  13. move_right()
  14. fill_cell()
  15. for karina in range(9):
  16.     move_down()
  17.     fill_cell()
  18. move_right()
  19. for nezashto in range(9):
  20.     move_up()
  21. move_right()
  22. fill_cell()
  23. for karina in range(9):
  24.     move_down()
  25.     fill_cell()
  26. move_right()
  27. for nezashto in range(9):
  28.     move_up()
  29. move_right()
  30. fill_cell()
  31. for karina in range(9):
  32.     move_down()
  33.     fill_cell()
  34. move_right()
  35. for nezashto in range(9):
  36.     move_up()
  37. move_right()
  38. fill_cell()
  39. for karina in range(9):
  40.     move_down()
  41.     fill_cell()
  42. move_right()
  43. for nezashto in range(9):
  44.     move_up()
  45. move_right()
  46. fill_cell()
  47. for karina in range(9):
  48.     move_down()
  49.     fill_cell()
  50. move_right()
  51.  
  52. 2
  53.  
  54. if free_from_up():
  55.     fill_cell()
  56.     for karina in range(9):
  57.         move_up()
  58.         fill_cell()
  59.     for imabitchimaboss in range(9):
  60.         move_down()
  61.     fill_cell()
  62. else:
  63.     fill_cell()
  64. for dojacat in range(5):
  65.     move_right()
  66.     fill_cell()
  67. if free_from_up():
  68.     fill_cell()
  69.     for cardib in range(9):
  70.         move_up()
  71.         fill_cell()
  72.     for up in range(9):
  73.         move_down()
  74.     fill_cell()
  75. else:
  76.     fill_cell()
  77. for dojacat in range(7):
  78.     move_right()
  79.     fill_cell()
  80. if free_from_up():
  81.     fill_cell()
  82.     for cardib in range(9):
  83.         move_up()
  84.         fill_cell()
  85.     for up in range(9):
  86.         move_down()
  87.     fill_cell()
  88. else:
  89.     fill_cell()
  90. move_right()
  91. if free_from_up():
  92.     fill_cell()
  93.     for cardib in range(9):
  94.         move_up()
  95.         fill_cell()
  96.     for up in range(9):
  97.         move_down()
  98.     fill_cell()
  99. else:
  100.     fill_cell()
  101. move_right()
  102. fill_cell()
  103. if free_from_up():
  104.     fill_cell()
  105.     for cardib in range(9):
  106.         move_up()
  107.         fill_cell()
  108.     for up in range(9):
  109.         move_down()
  110.     fill_cell()
  111. else:
  112.     fill_cell()
  113.  
  114. 3
  115.  
  116. move_right()
  117. if wall_from_down() and wall_from_up():
  118.     fill_cell()
  119.     for karina in range(8):
  120.         move_right()
  121.         fill_cell()
  122.     for wat in range(9):
  123.         move_left()
  124.     move_down()
  125. else:
  126.     move_left()
  127.     move_down()
  128. move_right()
  129. if wall_from_down() and wall_from_up():
  130.     fill_cell()
  131.     for karina in range(8):
  132.         move_right()
  133.         fill_cell()
  134.     for wat in range(9):
  135.         move_left()
  136.     move_down()
  137. else:
  138.     move_left()
  139.     move_down()
  140. move_right()
  141. if wall_from_down() and wall_from_up():
  142.     fill_cell()
  143.     for karina in range(8):
  144.         move_right()
  145.         fill_cell()
  146.     for wat in range(9):
  147.         move_left()
  148.     move_down()
  149. else:
  150.     move_left()
  151.     move_down()
  152. move_right()
  153. if wall_from_down() and wall_from_up():
  154.     fill_cell()
  155.     for karina in range(8):
  156.         move_right()
  157.         fill_cell()
  158.     for wat in range(9):
  159.         move_left()
  160.     move_down()
  161. else:
  162.     move_left()
  163.     move_down()
  164. move_right()
  165. if wall_from_down() and wall_from_up():
  166.     fill_cell()
  167.     for karina in range(8):
  168.         move_right()
  169.         fill_cell()
  170.     for wat in range(9):
  171.         move_left()
  172.     move_down()
  173. else:
  174.     move_left()
  175.     move_down()
  176. move_right()
  177. if wall_from_down() and wall_from_up():
  178.     fill_cell()
  179.     for karina in range(8):
  180.         move_right()
  181.         fill_cell()
  182.     for wat in range(9):
  183.         move_left()
  184.     move_down()
  185. else:
  186.     move_left()
  187.     move_down()
  188. move_right()
  189. if wall_from_down() and wall_from_up():
  190.     fill_cell()
  191.     for karina in range(8):
  192.         move_right()
  193.         fill_cell()
  194.     for wat in range(9):
  195.         move_left()
  196.     move_down()
  197. else:
  198.     move_left()
  199.     move_down()
  200. move_right()
  201. if wall_from_down() and wall_from_up():
  202.     fill_cell()
  203.     for karina in range(8):
  204.         move_right()
  205.         fill_cell()
  206.     for wat in range(9):
  207.         move_left()
  208.     move_down()
  209. else:
  210.     move_left()
  211.     move_down()
  212. move_right()
  213. if wall_from_down() and wall_from_up():
  214.     fill_cell()
  215.     for karina in range(8):
  216.         move_right()
  217.         fill_cell()
  218.     for wat in range(9):
  219.         move_left()
  220.     move_down()
  221. else:
  222.     move_left()
  223.     move_down()
  224. move_right()
  225. if wall_from_down() and wall_from_up():
  226.     fill_cell()
  227.     for karina in range(8):
  228.         move_right()
  229.         fill_cell()
  230.     for wat in range(9):
  231.         move_left()
  232.     move_down()
  233. else:
  234.     move_left()
  235.     move_down()
  236. move_right()
  237. if wall_from_down() and wall_from_up():
  238.     fill_cell()
  239.     for karina in range(8):
  240.         move_right()
  241.         fill_cell()
  242.     for wat in range(9):
  243.         move_left()
  244.     move_down()
  245. else:
  246.     move_left()
  247.     move_down()
  248. move_right()
  249. if wall_from_down() and wall_from_up():
  250.     fill_cell()
  251.     for karina in range(8):
  252.         move_right()
  253.         fill_cell()
  254.     for wat in range(9):
  255.         move_left()
  256.     move_down()
  257. else:
  258.     move_left()
  259.     move_down()
  260. move_right()
  261. if wall_from_down() and wall_from_up():
  262.     fill_cell()
  263.     for karina in range(8):
  264.         move_right()
  265.         fill_cell()
  266.     for wat in range(9):
  267.         move_left()
  268.     move_down()
  269. else:
  270.     move_left()
  271.     move_down()
  272. move_right()
  273. if wall_from_down() and wall_from_up():
  274.     fill_cell()
  275.     for karina in range(8):
  276.         move_right()
  277.         fill_cell()
  278.     for wat in range(9):
  279.         move_left()
  280.     move_down()
  281. else:
  282.     move_left()
  283.     move_down()
  284. move_right()
  285. if wall_from_down() and wall_from_up():
  286.     fill_cell()
  287.     for karina in range(8):
  288.         move_right()
  289.         fill_cell()
  290.     for wat in range(9):
  291.         move_left()
  292. else:
  293.     move_left()

Share with your friends:

Print