Westonci.ca is the best place to get answers to your questions, provided by a community of experienced and knowledgeable experts. Explore our Q&A platform to find in-depth answers from a wide range of experts in different fields. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

When would a flag variable be most useful?
1.when printing the number of items in a list

2.when checking the condition of a variable in a while loop

3.inside a function that prints the largest side of a triangle

4.when initializing a list