#๐ How would you guys make two circles in grid?
21 messages ยท Page 1 of 1 (latest)
@cinder fable
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.
What graphic library are you using?
A library that allows you to draw graphics. It would be very difficult, especially as a beginner, to do graphics "from scratch".
Look into Turtle to do basic graphics
!d turtle
Source code: Lib/turtle.py
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
Oh, if you just want this to be in a terminal, then no, you don't need a graphics library.
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.
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
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.
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.