Write the output for the following code sample. a = 25 b = 10 c = -20 if a > 0 and b > 0: print("The both numbers are greater than 0") if a > 0 and b > 0 and c > 0: print("The all three numbers are greater than 0") else: print("Atleast one number is not greater than 0")
Answers
Answered by
3
Answer:
hello,
Explanation:
an error will occur as if is repeated twice but if u interchange it with elif then the output will be:
The both numbers are greater than 0
hope it helps you
please mark brainliest
@ItzSnowySecret07
Similar questions