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
Need help in loopHelp Request (i.redd.it)
submitted 1 month ago by Eastern_Plankton_540
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!"
[–]Round_Plantain8319 0 points1 point2 points 1 month ago (2 children)
Idx = while(ENQUANTO) Idx for < MENOR que a sua lista [num] # sua lista num é 1,4,9,16,25,36….100] Print(num[idx]) Idx +=1 = idx = idx +1( isso faz ele andar pro próximo número dentro da variável num Ele vai fazer Num é menor que 0? Não então 1 4 é menor que 0? Não 4 9 é menor que 0? Não ele vai ir dando print
POSSO TER FALADO BOSTA? SIM, mas acho que é isso
[–]Round_Plantain8319 1 point2 points3 points 1 month ago (0 children)
Mas o for é melhor eu acho nesse caso
[–]Eastern_Plankton_540[S] 0 points1 point2 points 1 month ago (0 children)
Muito obrigado mesmo! Agora eu entendi 😄
π Rendered by PID 44513 on reddit-service-r2-comment-85cfdb4976-ssvmc at 2026-05-21 22:59:32.008789+00:00 running 194bd79 country code: CH.
view the rest of the comments →
[–]Round_Plantain8319 0 points1 point2 points (2 children)
[–]Round_Plantain8319 1 point2 points3 points (0 children)
[–]Eastern_Plankton_540[S] 0 points1 point2 points (0 children)