Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

(CO 4) Given the following code, select the compound condition that makes sure that the input is an integer

(CO 4) Given the following code, select the compound condition that makes sure that the input is an integer

greater than 0 and less than 1,000.

 

my_num = input(“Enter a number between 1 and 999:”)

check_num = int(my_num)

while _________________________:

my_num = input(“Try again. The number must be between 1 and 999”)

check_num = int(my_num)

Group of answer choices

check_num <= 0 and check_num != 1000

check_num < 0 and > 1000

check_num <= 0 or check_num > 1000

check_num <= 0 or check_num >= 1000

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"