(Python) Which is the correct answer? This loop is best when you want the loop to run X amount of times. a. loopX b. while c. for d. do while

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.1: Basic Loop Structures
Problem 4E
icon
Related questions
Question

(Python)

Which is the correct answer?

This loop is best when you want the loop to run X amount of times.

a. loopX

b. while

c. for

d. do while
Expert Solution
steps

Step by step

Solved in 5 steps

Blurred answer
Similar questions
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr