i have recently started learning python and decided to try and make a basic program. Every time i try and run it i get a syntax error, i have tried changing different lines of the code but, can't figure out whats wrong. Please help.

In Python, indentation matters, and changes between lines have meaning. The last line of the code you posted is indented compared to the one before when it should not be. This is so wrong that it is a syntax error rather than an error which would happen at run time. If the fix is not obvious, post back, and provide as much description as you can as to what you think your code does and why it should be working.

the last lanuage i learnt was batch, the indents did not matter, also they didnt matter in HTML

In all programming languages indentation matter(even if you don't get a error),you don't see much code without indentation.So the creator of Python did something smart and did not use extra signs for code block like { },but used indentation to do this.