Ask your own question, for FREE!
Computer Science 24 Online
Gucchi:

Which of the following tells Python to repeat a loop during the time the value of x is less than 6? while side in range(x < 6): print("x < 6") repeat(< 6): while(x < 6):

Gucchi:

wait

Gucchi:

actually am i right with D?

SmokeyBrown:

Yup, D would be the way to go here. A looks kind of similar to the way a for-loop would be defined, but the range specified doesn't really make sense anyway D would be correct for defining a while-loop, and it does indeed repeat as long as x<6

Gucchi:

thank you

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!