Resources
Answers
Examples
Sign in
Get Started
What do you want to save?
Add Code snippet
New code examples
Kotlin
2022-01-27 19:25:14
how to do a while loop kotlin
var i = 1 while (i < 5) { // while loop println(i) i++ } var i = 1 do { // do-while loop println(i) i++ } while (i < 5)
Add solution
Python
2021-11-17 21:53:10
do while in python
# Python does not have a do-while loop. You can however simulate # it by using a while loop over True and breaking when a certain # condition is met. # Example: i = 1 while True: print(i) i = i + 1 if(i > 3): break
Add solution
Kotlin
2021-11-02 02:13:11
while loop kotlin
var i = 1 while (i < 5) { // while loop println(i) i++ } var i = 1 do { // do-while loop println(i) i++ } while (i < 5)
Add solution
Python
2021-10-28 20:16:05
while loops python
# Python does not have a do-while loop. You can however simulate # it by using a while loop over True and breaking when a certain # condition is met. # Example: i = 1 while True: print(i) i = i + 1 if(i > 3): break
Add solution
Other
2021-10-23 17:58:08
Python while loop
# Python does not have a do-while loop. You can however simulate # it by using a while loop over True and breaking when a certain # condition is met. # Example: i = 1 while True: print(i) i = i + 1 if(i > 3): break
Add solution
Python
2021-10-18 16:35:03
python do while
# Python does not have a do-while loop. You can however simulate # it by using a while loop over True and breaking when a certain # condition is met. # Example: i = 1 while True: print(i) i = i + 1 if(i > 3): break
Add solution
Python
2021-09-25 13:46:04
python while loop
# Python does not have a do-while loop. You can however simulate # it by using a while loop over True and breaking when a certain # condition is met. # Example: i = 1 while True: print(i) i = i + 1 if(i > 3): break
Add solution
Python
2021-09-21 03:36:06
Python While Loops
# Python does not have a do-while loop. You can however simulate # it by using a while loop over True and breaking when a certain # condition is met. # Example: i = 1 while True: print(i) i = i + 1 if(i > 3): break
Add solution
Html
2021-09-02 03:22:02
do while loop in assembly
; WHILE LOOP: jmp loop1 ; Jump to condition first cloop1 nop ; Execute the content of the loop loop1 cmp ax,1 ; Check the condition je cloop1 ; Jump to content of the loop if met ; DO-WHILE LOOP: mov ax,1 loop...
Add solution
Python
2021-09-01 01:02:03
python do while loop
# Python does not have a do-while loop. You can however simulate # it by using a while loop over True and breaking when a certain # condition is met. # Example: i = 1 while True: print(i) i = i + 1 if(i > 3): break
Add solution
Best helpers
daily
weekly
monthly
for 3 months
Nick von Maltzahn
+5
Leniel Maccaferri
+5
Erica Price
+5
Scoiattolo
+5
Vigrond
+5
Muazam
+5
Emmet
+5
A G Davey
+5
Arad
+5
Meital Regev
+5
Andrew Knapik
+5
Entrepreneur
+5
Majte
+5
JoshuaFicy
+5
show more
This website uses cookies to make IQCode work for you. By using this site, you agree to our
cookie policy
Welcome Back!
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign in
E-mail
Password
Recover lost password
Log in
Or log in with
Not registered?
Sign up takes less than a minute
Create a Free Account
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign up
Email
Password
Sign up for free
Or sign up with
By signing up, you agree to the
Terms and Conditions
and
Privacy Policy
. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.