It’s a standard formatted for-loop. It’s creating the integer variable i, and setting it to zero. The second part is saying “do this while i is less than 10”, and the last part is saying what to do after the loop runs once -‐ increment i by 1. Under this would be the actual stuff you want to be doing in that loop. Assuming nothing in the rest of the code is manipulating i, it’ll do this 10 times and then move on
- 0 Posts
- 6 Comments
Joined 2 years ago
Cake day: July 1st, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Moredekai@lemmy.worldto Games@lemmy.world•Path of Exile II Queue Warning Issued as 1 Million Early Access Redemptions Are Hit - Insider GamingEnglish6·7 months agoThat’s already different in poe2, they’ve made that so much easier. It’s just some gold
Moredekai@lemmy.worldto Asklemmy@lemmy.ml•What's the dumbest way you've seen someone get fired?32·8 months agoMessaged in a work chat to “come and grab a laptop before they get asset tagged 😉” when we got a big donation of laptops
Moredekai@lemmy.worldto RPGMemes @ttrpg.network•What's your hottest character idea that you didn't get to play (long enough)?0·1 year agoLow wis warlock who is convinced he’s actually a Paladin, and is confused why his oath keeps seeming to change arbitrarily. Thought that signing the contract was making his oath.
Moredekai@lemmy.worldto Asklemmy@lemmy.ml•What is your favorite video game from the 90s?1·2 years agoBanjo-Kazooie
And the tumor has MAGAstisied.