I'm writing a program for class and I am struggling. Python is the programming software we use. The task:
enter the number of mouse traps (ie. 60 is our test number)
are you an iowa resident? (y/n)
Subtotal (ie. 115)
Tax (ie. 0 if iowa resident is answered n, 6.9 if iowa resident is answered y)
Total (ie. 115 or 121.9, depending on tax)
My code so far is attached. When I run the code, I get a sytax error at the colon after if res == y:
I'm not sure what to do to make this work. I've tried everything I know.