Robotics & Artificial Intelligence
The 'while' loop is suitable to iterate sequence data type.
Python Control Flow
1 Like
Answer
False
Reason — The while loop is used when the number of iterations is not known beforehand and it works based on a condition, whereas sequence data types are iterated using the for loop.
Answered By
1 Like