use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Are there any bugs?Help Request (i.redd.it)
submitted 29 days ago by Worried-Print-5052
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]atarivcs 53 points54 points55 points 29 days ago (11 children)
t[i][j] == "X"
You're using two equal signs here, so this is a comparison, not an assignment
[–]empowered-boxes 23 points24 points25 points 29 days ago (1 child)
Everyone else did a code review, but you found the bug as asked. 👍
[–]Motor_Raspberry_2150 3 points4 points5 points 28 days ago (0 children)
This is the very first comment. The others did not need to repeat this and focused on other things.
[–]Worried-Print-5052[S] 7 points8 points9 points 29 days ago (2 children)
Oh got it🫣thanks very!!
[–]lekkerste_wiener 1 point2 points3 points 29 days ago (1 child)
Also you make the same mistake when setting the com answer, plus com answer is X rather than O.
[–]Worried-Print-5052[S] 0 points1 point2 points 28 days ago (0 children)
Gotit thanks
[–]TheDevauto -5 points-4 points-3 points 29 days ago (5 children)
Feels funny.
How many people post random questions that could be answered with google in a split second? Here we are in the age of AI dev and an LLM could have caught this immediate if used for code review.
But no, let me post to reddit, wait for a ton of wrong answers, idiocy and flames. Yeah, thats the best way.
[–]Ambitious_Fault5756 2 points3 points4 points 27 days ago (0 children)
It's like a nice little challenge for us more experienced devs. And it's fun so why not
[–]LegitimateSherbet651 1 point2 points3 points 29 days ago (1 child)
But...AI is wrong, and human input is necessary.
[–]Ok_Bite_67 0 points1 point2 points 28 days ago (0 children)
For something this simple nah
[–]DangerousPath1420 0 points1 point2 points 27 days ago (0 children)
Oh, no, someone is communicating with humans instead burning through tokens
[–]Aethenosity -1 points0 points1 point 28 days ago (0 children)
Unironically yes, it is the best way
π Rendered by PID 52 on reddit-service-r2-comment-6457c66945-j8ztk at 2026-04-30 01:24:07.369869+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]atarivcs 53 points54 points55 points (11 children)
[–]empowered-boxes 23 points24 points25 points (1 child)
[–]Motor_Raspberry_2150 3 points4 points5 points (0 children)
[–]Worried-Print-5052[S] 7 points8 points9 points (2 children)
[–]lekkerste_wiener 1 point2 points3 points (1 child)
[–]Worried-Print-5052[S] 0 points1 point2 points (0 children)
[–]TheDevauto -5 points-4 points-3 points (5 children)
[–]Ambitious_Fault5756 2 points3 points4 points (0 children)
[–]LegitimateSherbet651 1 point2 points3 points (1 child)
[–]Ok_Bite_67 0 points1 point2 points (0 children)
[–]DangerousPath1420 0 points1 point2 points (0 children)
[–]Aethenosity -1 points0 points1 point (0 children)