```
day_rate = 40
no_of_days = input()
toatal_amount = no_of_days * day_rate
if no_of_days * day_rate >= 280:
print "50$ discount applicable and amount is: " total_amount-50
elif no_of_days * day_rate >= 120 and no_of_days * day_rate <= 240:
print "20$ discount applicable and the amount is: " total_amount-20
else:
print total_amount
```

File "python", line 10

print "50$ discount applicable and amount is: " total_amount-50

^

SyntaxError: invalid syntax

Hi Guys,

IF i enter 2 in the output window, it is suppose to give the total amount. where does it gone wrong? and also if i enter 4 in the output, it should show the total amount-20$. Where does it gone wrong? your help will be much appropriated.

Replace this line with your code.

```