DEV Community

Cover image for Day 26 of My AI & Data Mastery Journey: From Python to Generative AI
Nitin-bhatt46
Nitin-bhatt46

Posted on

Day 26 of My AI & Data Mastery Journey: From Python to Generative AI

Creating a code using turtle library.

  1. From our previous learning, we should add some twist.
  2. Before we used to write the code then we execute and now we must print using our keyboard keys. # hints use screen.keys() function As We press any key which you will set it must move forward with the help of function.

  1. Now add Multiple command to make different shape as we play with the turtle. ALL Arrow direction In keyboard. Up, down , left, right.

Top comments (0)