logo CodeStepByStep logo

surely_no_errors

Language/Type: Python basics escape sequences mystery print

Correct the syntax errors in the following program:

def main():
        print(Hello, world!)
    essage()

def message
    print('This program surely cannot '
    print("have any "errors" in it");

main()
Complete program: Write an entire program that you could put into a file and run outside of CodeStepByStep.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.