Question: VWhat's printed when ` x = 0 ` and ` y = 5 ` ? ` ` ` python x = float ( input (

VWhat's printed when `x =0` and `y =5`?
```python
x = float(input("Enter a number for x: "))
y = float(input("Enter a number for y: "))
if x == y:
if y !=0:
print("x / y is", x/y)
elif x < y:
print("x is smaller")
else:
print("y is smaller")
```
-[]`x is smaller`
-[]`y is smaller`
-[]`x / y is 0.0`
-[]`x / y is 0`

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!