how to install python idle in ubuntu 1

how to install python idle in ubuntu

sudo apt-get install idle3

Here is what the above code is Doing:
1. We’re importing the turtle module, which is a set of code that someone else wrote to make it easy for us to draw stuff with Python.
2. We’re creating a new turtle and calling it “bob”.
3. We’re telling bob to move forward by 50 pixels.
4. We’re telling bob to turn right by 90 degrees.
5. We’re telling bob to move forward by 50 pixels.
6. We’re telling bob to turn right by 90 degrees.
7. We’re telling bob to move forward by 50 pixels.
8. We’re telling bob to turn right by 90 degrees.
9. We’re telling bob to move forward by 50 pixels.
10. We’re telling bob to turn right by 90 degrees.

Similar Posts