This code will tell you about hydration. You should be sure to drink AT LEAST 10 cups of water a day!
@BananaSoul - It is asking for an integer (a whole number), so it looks for one. If your answer is for example 5, it works, but it wouldn't work with "A" as that is not a whole number. Different types are used for code such as;
abc = 1
if abc > 0:
If instead, it was a string, it wouldn't work; as it couldn't compare a string (probably expecting words like 'And' as the input) to the number '0').
@BananaSoul - No problem :) By the way, you can use =< or => to say 'equal to or greater/less than'. Alternatively, you can still use > or < but use the number below the one to encompass all options you want. Example:
slicesOfPizza = 8
if slicesOfPizza => 1:
--slicesOfPizza = slicesOfPizza - 1
Instead of "=> 1", you can also put ">0". The second would put everything greater than 0, which is 1, 2, 3, etc. just like the first one would.
Just thought I would say, because you did >10 and ==10 as separate functions.