On Wed, Feb 15, 2017 at 01:00:30PM -0500, Adam Howlett wrote:
> Write an if-else statement that assigns 20 to the variable y if the
> variable x is greater than 100. Otherwise, it should assign 0 to the
> variable y.
>
> Is there an easy way to solve this problem?
Yes. What have you tried?
H
On 15/02/17 18:00, Adam Howlett wrote:
> Write an if-else statement that
> assigns 20 to the variable y if the variable x is greater than 100.
> Otherwise, it should assign 0 to the variable y.
>
> Is there an easy way to solve this problem?
Yes, just do what it says.
Maybe if I reword the pro
Write an if-else statement that assigns 20 to the variable y if the variable x
is greater than 100. Otherwise, it should assign 0 to the variable y.
Is there an easy way to solve this problem?
___
Tutor maillist - Tutor@python.org
To unsubscribe or ch