Python3 While loop
Python While Loop WHILE Loop : The while loop in python is used to iterate over a block of code as long as the test expression(condition) is true Syntax:: while test_expression: body of while * The body of the loop is entered only if the test_expression is true. * After one iteration, the test_expression is checked again. * This process proceeds until the test_expression is false. Flow Chart : Eg: lst=[10,20,30,40,50] product=1 index=0 while index<len(lst): product*=lst[index] index+=1 print("Product is:{}".format(product)) ou...