Skip to main content

Mastery15 - Conditional If

1 min read

the conditional if es used whe you want something to happen only when a a certain condition is met. like comparing two variables and if they are equal the the program will follow the contition.

x = input()

y = input()

if x == y:

    print ("it is the same")