please help it's urgent
Today's my exam at 1pm
Chapter - conditional statements and loops
please don't post irrelevant or unrelated answers to the question otherwise 10 answers will be deleted
Attachments:
Answers
Answered by
9
1. Option B. ) While loop
The while loop is works inactivley on Python. The again variable may or may not dictates loop will be executed once or n times the again .
For eg. We keep again x it will work & if we keep again y it doesn't works.
again == int(input(" x")) ✔
again == int(input(" y ")) ✖
2.) Option C. ) Iteration
The Repeated execution of statements or loop is called iteration .
It gives least or neglegible amount of error.
The iterator protocol method is __iter__() .
Example :-
mytuple = ("red", "blue", "green")
myit = iter(mytuple)
________________________________
Similar questions