Skip to content

If Statement

if x > 0:
    print("positive")
elif x < 0:
    print("negative")
else:
    print("zero")

Implementation - ✅ Native - Direct mapping to if/else if/else.