#π hardest thing with python?
41 messages Β· Page 1 of 1 (latest)
@wanton coral
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.
hardest thing to do with python is probably solve P vs NP but i think 4D graphics could be up there 
For me it is recursive statement, it was hard to gut a grasp of how the logic of using recursive
Do you have a full grasp of it now?
Yep
A full grasp of what?
The hardest problem I have come across is the halting problem which I have managed to solve successfully.
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
Yea so true. But if you had a brain wave moment itβs actually very easy to think recursively in your head in another sense but then yea actually implementing that within python can be challenging.
is this the busy beaver stuff?
No but it is closely related.
Although no you say that Iβm so interested
What do you think about the busy beavers problem bro.
It is probably the halt problem
π nahh, im stuck at while and continue while you guys talking about something i don't even understand literally.π I'm cooked chat.
not really
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?
Honestly, I think the only person who replied to your question seriously was Befell. The other replies seem to be jokes. I wouldn't worry about them.
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.
i missed my opportunity to say "divorce" or smth
didnt even read the post right: it was the hardest thing in python i had done
not what you could do
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?
and that would probably be to make a shitty version of (neo)vim
Whenever i try to practice it i end up making errors that makes my mood go down to practice on it
what errors do you make?
while loops and the continue statement are pretty simple. just go to the next step
You should definitely understand while and continue. Those are fairly fundamental building blocks. Or, at least while is fundamental, and continue is required to fully understand while.
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π
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
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π₯Ή
Owhhhh, that's a good point I'll note it
Finally i am able to understand ts , just lazy to practice it now lol
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.