#๐Ÿ”’ test practice help

46 messages ยท Page 1 of 1 (latest)

remote vigil
#

i want to get the factors of n number

mortal micaBOT
#

@remote vigil

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.

remote vigil
#

this isnt working

#

someone help me.

ember girder
#

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

remote vigil
#

my teacher says that too but im fine with it

remote vigil
#

b is the divisor

#

a as the number

ember girder
#

ok so name them as such

remote vigil
#

mk

#

holdo n

ember girder
#

why do you need a different variable for count and divisor?

#

aren't they essentially the same thing?

remote vigil
#

oh yes

#

dk why i put that

ember girder
#

try and rewrite some of it with this new information

remote vigil
#

@ember girder i put single letters becausse its faster when im typing calculations

#

its not like im making huge codes rn so

ember girder
#

it helps your brain process what you're reading faster too

#

reading single letters is harder to understand

remote vigil
#

is it true that programmers write the code on paper

#

before doing it on pc

ember girder
#

it can help beginners, but I never have

#

I'll plan things out, but I won't write actual code on paper

remote vigil
#

its annoying

#

honestly

ember girder
#

it's beneficial

remote vigil
#

my teacher says to do it tho

ocean escarp
#

I've definitely written code on paper before when I was younger

long cedar
#

I never did that

ember girder
remote vigil
#

she shuts down my monitor and says to write on paper ๐Ÿ˜”

#

anyways hold on let me rewrite this code

ember girder
#

"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?"

remote vigil
ember girder
#

Please don't spoonfeed solutions here. Delete this

remote vigil
#

i was tryna figure it out

#

ill still try myself

remote vigil
#

!close

mortal micaBOT
#
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.