Python 2 vs Python 3 Print déclaration

#Python 3

def main():
  print("Hello World!")
  
if __name__== "__main__":
  main()

#Python 2

def main():
  print "Hello World!"
  
if __name__== "__main__":
  main()
ayaan