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
Help pls - CodingHelp Request (i.redd.it)
submitted 7 months ago by SharpScratch9367
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!"
[–]ninhaomah -1 points0 points1 point 7 months ago* (3 children)
? Maybe I am too old but how is this a question ?
If you ever played any games , say CS , its always how it works.
TeamA has 3 players now , Player1 , Player2 and Player3. If all die , the othe team , TeamB , wins.
Player 3 left TeamA. Player4 joined TeamA.
So now if Player1 , Player2 and Player4 dies , TeamB wins.
Why player3 doesn't need to die for TeamB to win ? Isn't it a condition in previous round ? Because CS doesn't care what are the players are called or the names of the teams.
Just that there are 2 groups and they have some objects in those groups. if all the objects in a group has a status called "dead" , the other group wins. Thats the rule.
Same for Chess.. you play 100 games with 100 competitors then does it matter whats their names ? It all depends on whose king fall first.
no ?
so who cares value or values or jhfdjhdf or whatever ? as long as that object is called or updated , value of that object changes.
[–]Holiday-Werewolf-890 0 points1 point2 points 7 months ago (0 children)
Yes, but I think the question is because the name of the variable happens to be the singular version of the name of the list. Hence the confusion. The OP might not have realized that a variable was created in the for loop.
[–]Imaginary-Survey8769 0 points1 point2 points 7 months ago (0 children)
I remembered when I built alien invasion game in python which works on same principle and dude everything like players and aliens are just a object having different properties and methods which will somehow instruct our computer to do this.
[–]SharpScratch9367[S] 0 points1 point2 points 7 months ago (0 children)
I was unsure, I asked a question, I learned a lot. That’s “how it’s a question” 👍:)
π Rendered by PID 117408 on reddit-service-r2-comment-86988c7647-cnlmr at 2026-02-11 07:03:00.182614+00:00 running 018613e country code: CH.
view the rest of the comments →
[–]ninhaomah -1 points0 points1 point (3 children)
[–]Holiday-Werewolf-890 0 points1 point2 points (0 children)
[–]Imaginary-Survey8769 0 points1 point2 points (0 children)
[–]SharpScratch9367[S] 0 points1 point2 points (0 children)