Python  .    
 


  ,     12+        Python,      :  





Python  

   



 



 ,2020



ISBN978-5-0051-2921-5

     Ridero







   ,            ,     .    .      ,         .      12   ,       .     24 .

  ,     12+       Python,      :   (Turtle library). ,   Turtle         ,      , , ,  (    ).   .      Turtle    ,      ,  ,       Scratch,       .         ,           .  ,    ,     Turtle      Python,   , ,  ..      ,    :

a)  , Python  ;

b)  ,  Python: https://www.labirint.ru/books/575392/ (https://ridero.ru/link/SEaQ0zahlH6qAv);

c) . ,  Python,    ;

d)   , Python  .




    



  ()    ,    ,  : , ,  .              .           Python.




  


          .         1. ,   * (wn.bgcolor (navy))    ,  ,    12    ,    . ,    t,  -,    ,    (     34).     time.sleep (0.001),        0.001- .  ,    ,    time (   ).       .          .       .      ,    : turtle.tracer (2).     , ,  ,    (  #    3).            turtle.tracer ()   time.sleep ().






1



           34 t.shapesize (1+0.01*m).       2.  t.shapesize (1+0.01*m)      .          .      m    .






2



    ,      m ,  599.     , ,      3






 3



       ,      , ,    ,     .        ,   ,     ,    ,     ..




   


    ,         .  ,   ,  .








 ,  Python    ,   4.         (,   #1).   ,        ,     .      ,  , ,  #2(   while True:).  #3, #4, #5#6      . ,   Y    .      y   t. xcor () t. ycor () .     =175 X=-175   Y=175 Y=-175 y,     : dx   dy  y  ,        180.






4




 


 ,     ,      .        : circle. ,   ,  ,   ⠖   5.






5



  ()   .  #1  <>  () :   ,       . ,    23    ,    34   q [m], p [m], r [m],  m=0,1,2,317. ,    45  :  -       .    ,    ,      .      :






6



       ,       45  (   ).        .       <break>, 頖    True False.       onclick (),        .




  


 ࠖ    , ,  ,        .     ,       .     ()  ,      .      , ,    .      ,   , . .   ,   ,      ..    ,           .      .    7.     .        ,     (   12).     delta.   delta,         .      ,    34.       ()  .   row0, row1, row2,row7,    () pixels= [row0,row1,row2,row7] ( ),  (list).    pixels       ,        , , .       .      ,  ,    ,     6  7.     ,       . ,       ,      ,  :    67   x y,  x y    , ,     .   ,  *.          j   i.

      :  ,     5:  0  ,  1- .  ,  *   grey,      .






 7



ʠ     :






8



   ,      .       ,  ,    **   8.  ,     ,    random (   7).




   -


           .         .        9. Ѡ       .     .   ,     ,     ( #1).    ,    ,  ,   ()    .     ,    #2#3.      pix1, pix2, pix3,pix12,        pixels= [pix1,pix2,pix3,pix12] ( ),  (list).  0       ,  1-  .     ,   delta   ,    20*delta.    3  5      6-     ( delta=5* (q+1), t.shapesize (0.25* (q+1)).     q   ,     .






9




 





10



 ,   9   .    10.    #1#2,   ,   ,    #3#4     ,    t2, t3, t4 t5   , ,    #5#6     .




  .


   .

   ,     (https://www.litres.ru/pages/biblio_book/?art=57339398)  .

      Visa, MasterCard, Maestro,    ,   ,     ,  PayPal, WebMoney, ., QIWI ,       .


