Python - Conditional Statements
You want to print 'Positive even', 'Positive odd', or 'Zero or negative' based on a number using nested conditionals. Which code correctly implements this?
num = 4 # Choose correct code:
num = 4 # Choose correct code:
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions