#๐Ÿ”’ How would you guys make two circles in grid?

21 messages ยท Page 1 of 1 (latest)

cinder fable
#

I want to make two identical circles next to each other, but I'm a bit lost

sullen kiteBOT
#

@cinder fable

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.

hybrid hatch
#

What graphic library are you using?

cinder fable
#

What's a graphic library? ๐Ÿ˜ญ

#

I'm very new to coding

hybrid hatch
#

Look into Turtle to do basic graphics

#

!d turtle

sullen kiteBOT
cinder fable
#

I want to do something like this:

    xxxxxxxxx
xxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxx
xxxxxxxxxxx

#

Do I still need a graphic library for this?

#

I thought I could make it with grids

hybrid hatch
#

That's called "ASCII Art" btw.

#

And questions like these good exercises. I'd encourage you to try and see what you come up with.

As a start, I'd only worry about a single circle, then when you can try that, try the harder task of two circles.

cinder fable
#

Ohhh alrighty

#

Thanks :D

#

I didn't know the name of it exactly, so I didn't really know how to search online for help lol

hybrid hatch
#

You're welcome. Don't look up answers though. These are good questions to practice developing algorithms. You'll also need to understand the basic idea since there are many variations on questions like these.

sullen kiteBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, 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.