Unable to write Python code

Im doing the project of trash talker while making this project I’m suffering from obstacle
Whenever I trying to write code in Python it showing syntax error
So, what should I do plzz explain me step by step

There might be many reason for this problem. If you could send the code or the specific line then this could be resolved.

Syntax error can occur due to basic mistakes.
It means that the given code is not understandable.

First, check for any sort of typo (any spelling mistake or spacing mistake included)
Second, check for indentation. Indentation rules are very strict in Python.
Third, check if you have left any brackets

Hope this helps

syntax are like grammar mistakes or silly mistakes which a programmer does so, please be patient and code if not then debugging is very hard