which of the following is correct way of creating an infinite loop ?
A. while x=10:
B. while x=2:
C.while True:
D. while infinite - loop:
Answers
Answered by
1
Answer:
while infinite_loop" is the correct answers. We use "while infinite_loop" to create an infinite loop. An infinite loop is a sequence of instructions that continues endlessly, unless an external intervention occurs.
Similar questions