Loops are used to carry out an operation over and over again for a given number of times. As List can have any number of items hence it is very important to have some mechanism to pick each element of any list one by one and perform an operation on it. This is done using Loops. We will be using the
while loop here.
Try changing the code as you like. Click the button, to Run the code again.
;to join two Executable Statements
/to break code into multiline code
zipfunction to iterate over two Lists
What is Studytonight?
Made with by Abhishek Ahlawat
© 2019 Studytonight. All rights reserved.