How to correct Syntax Error

Not sure what’s wrong with your program, but you may get more help if you posted the code properly.

Check this out:
Python Discourse Quick Start - Welcome to Discourse! - Discussions on Python.org