Hello World!

def printHelloWorld():
    world = "world."
    print("hello", world)

printHelloWorld()

Does LaTeX (KaTeX) work?