#๐ test practice help
46 messages ยท Page 1 of 1 (latest)
@remote vigil
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.
Think about what each variable represents
I really recommend not using single letters for variables
it makes your code hard to read and understand which as a beginner is definitely not what you want
my teacher says that too but im fine with it
c represents count
b is the divisor
a as the number
ok so name them as such
why do you need a different variable for count and divisor?
aren't they essentially the same thing?
try and rewrite some of it with this new information
@ember girder i put single letters becausse its faster when im typing calculations
its not like im making huge codes rn so
typing faster is not a good reason to write unreadable code
it helps your brain process what you're reading faster too
reading single letters is harder to understand
it can help beginners, but I never have
I'll plan things out, but I won't write actual code on paper
it's beneficial
my teacher says to do it tho
I've definitely written code on paper before when I was younger
I never did that
more annoying than struggling to write code?
she shuts down my monitor and says to write on paper ๐
anyways hold on let me rewrite this code
"My teacher told me to do something but I didn't do it and now I'm having a hard time writing code. Where did I go wrong?"
its because i can detect errors faster
Please don't spoonfeed solutions here. Delete this
!close
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.