You have not defined "x"
start by defining the variable "x"
x = 2
if x > 3: print("case1") else: print("case2")