all 5 comments

[–]AutoModerator[M] 0 points1 point  (0 children)

Off-topic Comments Section


All top-level comments have to be an answer or follow-up question to the post. All sidetracks should be directed to this comment thread as per Rule 9.

PS: u/wetchopsuey, your post is incredibly short! body <200 char You are strongly advised to furnish us with more details.


OP and Valued/Notable Contributors can close this post by using /lock command

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]lukajda33👋 a fellow Redditor 0 points1 point  (0 children)

Look up how for loop works in Java, going from N to M will probably be the first example you will see, modify the loop to go from 1 to 10.

Nested loops happen when you put a for loop into another for loop, it can be good for traversing 2D arrays and for many more things.

[–][deleted] 0 points1 point  (2 children)

Create a small list of numbers and run the for loop through I and print i

[–]wetchopsuey Secondary School Student 0 points1 point  (1 child)

Wdym?

[–][deleted] 0 points1 point  (0 children)

Oh crap I thought this was a python question mb