Basic Python Problem, is Reddit a better area for questions like this?

Write a piece of Python code that prints out the string ‘hello world’ if the value of an integer variable, ‘happy’, is strictly greater than 2

This is what I have

happy = int(x)
if x > 2;
print ('hello world')

I have never taken any programming courses, just watching some videos b/c college is too expensive

My thinking on this is, happy is equal to any integer X, if X > 2 print ‘hello world’

obviously this is incorrect, just would be interested in hearing some input from professionals
-this is one of the first few problems on MITs python course, and I just watched the videos leading up to this

Side Note: This isn’t graded or Homework, I’m just doing this on my free time. Current Network/ Linux Admin