#๐Ÿ”’ trying to make a design like this but its doing this

8 messages ยท Page 1 of 1 (latest)

cold dust
#

this is my code ```import turtle

def make_screen(color, title):
wn = turtle.Screen()
wn.bgcolor(color)
wn.title(title)
return wn
wn = make_screen('green', 'tiny squares')

t = turtle.Turtle()

t.penup()
t.goto(-300, 300)
t.pendown()
def design(t, size):
for i in range(8):

    for i in range(4):
     t.forward(300)
     t.right(90)
    
    t.penup()
    t.goto(-300, 400)
    t.pendown()
    
    t.forward(60)
    t.right(30)


t.setheading(90)

design(t, 5)

earnest questBOT
#

Hey @cold dust!

Please edit your message to use a code block

Add a py after the three backticks.

```py
print('Hello, world!')
```

This will result in the following:

print('Hello, world!')```
#

@cold dust

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

nova bay
#

As I have said, you have to use the logic you learned while drawing star yesterday.

If you understood the concept you learned then it is very easy so it's better to go back and check how it worked yesterday

cold dust
#

i figurerd it out

#

!close

earnest questBOT
#
Python help channel closed with !close

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.