If Statement

if <boolean expression>:
    <block of statements>
x = int(input("Enter a number: "))
if x == 7:
    print("That's a lucky number!")
print("Thanks for playing!")

Flowchart

x = int(input("Input: "))
if x > 0:
  print(x)
print("Goodbye")