marat murad via Tutor writes:
> The author introduced a new way of coding the Boolean NOT operator
> with the 'if' statement I have highlighted the relevant
> area,apparently this if statement actually means if money != 0,which I
> understood
Not quite. The statement actually means “if ‘money’ e
On Tue, May 31, 2016 at 04:16:21PM +0100, marat murad via Tutor wrote:
> money = int(input("How many dollars do you slip the Maitr D'? "))
> *if money:*
> print("Ah I think I can make something work")
> else:
> print("Please sit ,it may be a while")
All values in Python can be used where
On 31/05/16 16:16, marat murad via Tutor wrote:
> program whose code I have pasted below. The author introduced a new way of
> coding the Boolean NOT operator with the 'if' statement I have highlighted
> the relevant area,apparently this if statement actually means if money !=
> 0,which I underst
Hi
I'm learning how to code with python an I have purchased the book 'Python
Programming for the absolute beginner,third edition' by Michael Dawson.
There is one concept that is confusing me in chapter 3 page 71 there is a
program whose code I have pasted below. The author introduced a new way of