Which of the below Python statements correctly inputs integer numbers until a number which is between 0 and 7 (both inclusive) is entered? I.e. as long as the user enters a number which is not between...



Which of the below Python statements correctly inputs integer numbers until a number which is between 0 and 7 (both inclusive) is entered?
I.e. as long as the user enters a number which is not between 0 and 7 (both inclusive), the program will continue to ask for a number.




Lütfen birini seçin:


a.n = int(input("Enter selection: ") while n < 0="" or="" n=""> 7: n = int(input("Enter selection: ") print("Selection:", n)

b.n = int(input("Enter selection: ") while n < 0="" or="" n=""> 7: n = int(input("Enter selection: ") print("Selection:", n)

c.n = int(input("Enter selection: ") while n >= 0 and n <= 7:="" n="int(input("Enter" selection:="" ")="" print("selection:",="">

d.n = int(input("Enter selection: ") while n < 0="" and="" n=""> 7: n = int(input("Enter selection: ") print("Selection:", n)

e.n = int(input("Enter selection: ") while n <= 0="" or="" n="">= 7: n = int(input("Enter selection: ") print("Selection:", n)




Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here