Answer Posted / nashiinformaticssolutions
It is common practice to iterate through the items of different collection types, including List, Tuple, Set, and Dictionary, using the "for" loop. Developers employ a "for" loop in which the conditions are both the beginning and the conclusion. In contrast, the true looping feature found in all other programming languages is the "while" loop. Python while loops are used by programmers when they only have end conditions.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the pass statement in python?
Is python is easy?
How to import a module given the full path?
Which linux is best for python programming?
What does do in c?
What a blank curly brace initialize? A dictionary or a set?
What is print in python?
What is an operator in python?
Give one example for multiple statements in single statement?
What is difference between panda series and dictionary in python?
Tell me how does python handle the memory management?
What is an interpreter for python?
How do you escape a string in python?
What is python list function?
What is the difference between append() and extend() method in python?