If-Else Statement

if <boolean expression>:
        <block of statements 1>
    else:
        <block of statements 2>
def main():
    x = int(input("Enter a number: "))
    if x >= 0:
        print("Your number is positive!")
    else:
        print("Your number is negative")
    print("Thanks for playing!")

main()