I am a beginner in python programming & learning the basics from online. The below code works as shown in online video tutorial but gives blank output while I run in my machine. I am using python 2.7.14 version. Writing the code in Sublime editor and using the cmd to run the file. I have some other code which runs perfectly fine.
I want to know what is wrong with the below code as it is not printing the desired line /blank.
def main():
    x, y = 10, 100  
    if (x < y):
        st = "x is less than y"
    elif (x == y):      
        st = "x and y are same"
    else:
        st = "x is greater than y"
    print (st)
 
    