if not working 1

if not working

if x = a

Here is what the above code is Doing:
1. It’s asking the user to input a number.
2. It’s storing that number in a variable called x.
3. It’s checking if x is equal to a.
4. If x is equal to a, it prints “pizza”.
5. If x is not equal to a, it prints “die”.

Similar Posts