Easy enough to do - you're going to have to change the angle size that the turtle turns at. In a square, we turn at 90-degree angles. If you are drawing something like a hexagon, you'll be turning at 60-degree angles.
@@GeekTutorials1 actually I had just started to learn python 10 months ago for my school so, I was looking for some help I didn't knew how to interpret Documentation at that time and now am at an intermediate level so yeah Docs help now lol Anyways ty :) this video help me a lot lol was fun messing around
Quick question! So do brackets go after every line of code to close it off or select something? Or only after certain lines? Sorry, I'm very new to coding
@@larsverschoor The arrow is the "turtle" that draws the shapes. You can hide it. Put hideturtle() into your code. If you want to speed up your drawings, set the speed to 0 by writing speed(0) into your code.
this is a great video! but mine just isnt working, it says: Traceback (most recent call last): File "C:/Users/lenovo/AppData/Local/Programs/Python/Python310/square.py", line 1, in window = turtle.Screen() NameError: name 'turtle' is not defined. Did you mean: 'tuple'? Help meeeeeee
it says Traceback (most recent call last): File "C:\Users\kaant\AppData\Local\Programs\Python\Python39\game.py", line 13, in window = turtle.screen() AttributeError: module 'turtle' has no attribute 'screen'
@@vasilisektorasmitropoulos1771 Hard to tell what's wrong without seeing your code. Possibly you missed a pendown() function that allows the turtle to keep drawing on the page. It will only be a small mistake.
Traceback (most recent call last): File "/var/mobile/Containers/Data/Application/8B7F3B36-BA01-4A4D-8C16-9D268CB897F3/Documents/noname (1).py", line 1, in import turtle ImportError: No module named turtle
This one video REALLY helped me understand the last 6 lectures we had in class since the start of the semester. I wish you were teaching our class!
You're too kind, my man!
Did they? Thanks
how would i get this code to repeat itself producing 10 squares with equal distance between them?
Thanks man, I'm a beginner, helped me out a ton.
Hey there! thanks a lot but what if I wanted black then red then black then red and so on for a polygon?
Easy enough to do - you're going to have to change the angle size that the turtle turns at. In a square, we turn at 90-degree angles. If you are drawing something like a hexagon, you'll be turning at 60-degree angles.
Thanks a lot !!!!! This was really helpful for me to get started with drawing in python!
I can't fill the color red for my rectangle
i am good at python and i used this in my program thanks!
Are u on discord?
@@Redditard I'm not. What do I need it for?
@@GeekTutorials1 actually I had just started to learn python 10 months ago for my school so, I was looking for some help
I didn't knew how to interpret Documentation at that time and now am at an intermediate level so yeah Docs help now lol
Anyways ty :) this video help me a lot lol was fun messing around
Really helpful, well explained
Glad it was helpful!
Your tutorials are very easy to follow. But can you please tell me where to find the python libraries ie Turtle and Time etc and what is in them
Which Idle u are using ,which Verision of software
The official python IDLE. Version 3.8 I think it was.
@@GeekTutorials1 Thank u ❣️
How do you do this with triangles
I see you found my triangle tutorial - just follow along with that.
Quick question! So do brackets go after every line of code to close it off or select something? Or only after certain lines? Sorry, I'm very new to coding
Brackets are used at the end of a function. Unlike a lot of other programming languages, Python doesn't need anything at the end of a line of code.
@@GeekTutorials1 thanks for the help!
@@GeekTutorials1 but why is it so slow and is there an arrow?
@@larsverschoor The arrow is the "turtle" that draws the shapes. You can hide it. Put hideturtle() into your code.
If you want to speed up your drawings, set the speed to 0 by writing speed(0) into your code.
@@GeekTutorials1 okay, thanks!
luv this vid ur a legend❤❤❤❤
You are!
this is a great video!
but mine just isnt working, it says: Traceback (most recent call last):
File "C:/Users/lenovo/AppData/Local/Programs/Python/Python310/square.py", line 1, in
window = turtle.Screen()
NameError: name 'turtle' is not defined. Did you mean: 'tuple'?
Help meeeeeee
It works - there's probably just a spelling mistake. Look on my channel for an updated version of this video
it says Traceback (most recent call last):
File "C:\Users\kaant\AppData\Local\Programs\Python\Python39\game.py", line 13, in
window = turtle.screen()
AttributeError: module 'turtle' has no attribute 'screen'
You probably type something wrong
Its bean a month xd
how do you change the size for the shape? sorry i'm new to python so i have lots of questions
When you move the turtle forward to draw a line, make the number inside the brackets bigger. Try forward(200)
Can you make a video to how to draw a rectangle?
Done - just for you... th-cam.com/video/1TD2HTy6PFY/w-d-xo.html
very cool
Thanks
it didnt work for me idk why
What didn't work? Show me your code or error.
@@GeekTutorials1 no just it didn’t make a square
It made just a line at the edge and idk wht
@@vasilisektorasmitropoulos1771 Hard to tell what's wrong without seeing your code. Possibly you missed a pendown() function that allows the turtle to keep drawing on the page. It will only be a small mistake.
Thankyou
You’re welcome 😊
Turtle Square face, don't be sad
:(
Traceback (most recent call last):
File "/var/mobile/Containers/Data/Application/8B7F3B36-BA01-4A4D-8C16-9D268CB897F3/Documents/noname (1).py", line 1, in
import turtle
ImportError: No module named turtle
I updated this tutorial - newer and easier code to follow. Check my channel for it