On 05/03/2016 15:41, Diego ... wrote:
Hello! I have a question in an exercise that says : Write an expression to
determine whether a person should or should not pay tax . Consider paying tax
people whose salary is greater than R $ 1,200.00
I do not know how to mount the logical expression !!!
It's like:
salary = 1250
tax = Not True
salary > 1200 or not tax ????
Start here
https://docs.python.org/3/tutorial/controlflow.html#if-statements. You
won't need your 'tax' variable if all you're doing is deciding whether
or not they pay tax.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list