Код: Выделить всё
salary = int (input('enter your salary: \n'))
hours = int (input('enter your hours: \n'))
total_salary = salary * hours
if total_salary
Подробнее здесь: [url]https://stackoverflow.com/questions/78798981/line-6-else-printnot-good-syntaxerror-expected[/url]