49869/draw-a-square-using-the-turtle-module-python
Hey @Baily, use something like this:
import turtle sq = turtle.Turtle() for i in range(4): sq.forward(50) sq.right(90) turtle.done()
Hey @Jinu, try this: import turtle polygon = ...READ MORE
Hey @Nagya, so you added the following ...READ MORE
Try this: import turtle turtle = turtle.Pen() turtle.left(90) for x in ...READ MORE
Hey, @Roshni, Python has a regular expression module ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
Enumerate() method adds a counter to an ...READ MORE
You can simply the built-in function in ...READ MORE
Hey @Jinu, Try something like this: import turtle star = ...READ MORE
FWIW, the multiprocessing module has a nice interface for ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.