What will be the output of this program? EXTRA POINTS!!!
(No Absurd Answers PLZ)

number = 5
less_than_zero = number < 0

if less_than_zero:
print(number)

number = number-10
less_than_zero = number < 0

if less_than_zero:
print(number)


A. 5
5

B. -5

C. 5
-5

D. Nothing will print

Respuesta :

Answer:

Translated below: Answer is B.

Step-by-step explanation:

1. Set number to 5.

2. Check if it is less than 0.

3. It is not. Nothing is printed.

4. Change number to -5.

5. Check if it is less than 0. It is.

6. Print the number.

The output will just be -5.

B.