#i want to print odd numbers but here when i run the code the output is just 3 i have no idea why

13 messages · Page 1 of 1 (latest)

plush arch
sullen flickerBOT
#

This post has been reserved for your question.

Hey @plush arch! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

carmine sorrel
#

Don't put a semicolon ; after a loop

plush arch
#

oh

#

sorry i am a newbie

#

still not solved

tepid crypt
#

try debugging

#

to the left mark the line as red and press debug

#

or try intializing i inside the for loop

plush arch
#

it worked damn

#

thanks

sullen flickerBOT
# plush arch thanks

If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.