Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #104156 > unrolled thread
| Started by | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| First post | 2016-03-06 16:56 +0000 |
| Last post | 2016-03-06 16:56 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Phyton Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-03-06 16:56 +0000
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2016-03-06 16:56 +0000 |
| Subject | Re: Phyton |
| Message-ID | <mailman.254.1457283607.20602.python-list@python.org> |
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
Back to top | Article view | comp.lang.python
csiph-web