#π help with a project
13 messages Β· Page 1 of 1 (latest)
Click here to see this code in our pastebin.
@vital linden
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.
!paste
So that everyone can easily read your code, you can paste it in this website:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
here you go: https://paste.pythondiscord.com/MOUQ
Have you put in any print() calls so that you can see what your script is doing?
not really
That should be debugging step #1. Either use a debugger, or sprinkle some print calls around to see what is actually running. This is called "print debugging", and it's a fairly core skill to learn. You'll use it constantly. You need to be able to inspect the internal state of the program as it runs to find out what's wrong.
got it ty for advice
tysm for fixing my code I hope it wasnt too hard trying to understand what I was doing
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.