C-17-Q050mediumsingle_mcq
For num = -3, the program prints:
For num = -3, the program prints:
- aThe number is positive
- bThe number is negative
- cIt is zero
- dInvalid number
ব্যাখ্যা
Since , the positive check fails and the elif for negative is true, so it prints that the number is negative.