#πŸ”’ hardest thing with python?

41 messages Β· Page 1 of 1 (latest)

wanton coral
#

i just wanted to ask what was the hardest thing in python in your learning time. i am learning it now so for me till now while break and continue statement are hardest i've came across so far! share some with me so i get motivation that i'm not the only guy stuck in such an easy language

brisk bladeBOT
#

@wanton coral

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.

stone burrow
#

hardest thing to do with python is probably solve P vs NP but i think 4D graphics could be up there shrug

fallen sparrow
#

Yo

#

My friend Leo did this one time successfully

abstract gazelle
#

For me it is recursive statement, it was hard to gut a grasp of how the logic of using recursive

fallen sparrow
abstract gazelle
fallen sparrow
#

The hardest problem I have come across is the halting problem which I have managed to solve successfully.

abstract gazelle
# fallen sparrow A full grasp of what?

Thinking recursively specifically. That was the hardest part. Because a lot of things can go wrong in a recursive function if not thought out for some edge cases

fallen sparrow
fallen sparrow
#

Although no you say that I’m so interested

fallen sparrow
real pewter
wanton coral
#

πŸ’€ nahh, im stuck at while and continue while you guys talking about something i don't even understand literally.πŸ’€ I'm cooked chat.

wanton coral
#

Probably πŸ₯ΊπŸ₯ΊπŸ™πŸ»

#

I don't feel like practicing while and continue, i just learned it definitionally but didn't practice it good. Can i skip it for now?

deft mortar
#

On what they mentioned, you'll need to learn recursion eventually, but it's an advanced topic. You won't really need it until you get into DS&A.

stone burrow
#

didnt even read the post right: it was the hardest thing in python i had done

#

not what you could do

wanton coral
#

Hmm, DSA is looking a bit hard to me from even now, anyway, can i skip the while and continue if i hadn't practice it nicely, just definitionally?

stone burrow
wanton coral
#

Whenever i try to practice it i end up making errors that makes my mood go down to practice on it

stone burrow
deft mortar
wanton coral
#

I end up making infinite loops sometimes and sometimes i seek help through chat gpt for while and continue codes without error in output so i can learn through it, means i can't close them myself

#

Hmm, will practice tomorrow its midnight here so

#

Thanks fo the help guysπŸ’—

lapis depot
# wanton coral I end up making infinite loops sometimes and sometimes i seek help through chat ...

making an infinite loop is not misunderstanding while, its a logical error related to concrete problem you're solving with the while loop
for a loop to not be infinite, it has to depend on some variables that would change inside the loop in a way that at some point, the condition would become false
e.g. if you have

x = 10
while x > 0:
  print(x)

obviously that will be an infinite loop, because x doesn't change in it

wanton coral
#

Yeah, i read that, I couldn't understand this sentence before, didn't matter how simple it was told to me, so i asked chat gpt to break it down (the while and continue statements use) i can now understand what you guys are sayingπŸ₯Ή

wanton coral
#

Finally i am able to understand ts , just lazy to practice it now lol

brisk bladeBOT
#
Python help channel closed for inactivity

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.