Answers for "can you put a for loop in while loop"

5

while loop

# simple while loop python.
input                                      output
a=1                                        1
while a<=10:                               4                               
      print(a)                             7
      a=a+3                                10
# here a=a+3 can be written as 'a+=3'
Posted by: Guest on November-25-2021
0

While Loop

A while loop statement in Java programming language repeatedly executes a target statement as long as a given condition is true. 

Syntax : 
while(Boolean_expression) {
   // Statements
}
Posted by: Guest on August-31-2021

Code answers related to "can you put a for loop in while loop"

Python Answers by Framework

Browse Popular Code Answers by Language