What is the expected behavior of the following code?
x = 8 ** (1/3)
y = 2. if x < 2.3 else 3.
print(y)
it outputs 2.0
it outputs 2. 5
the code is erroneus and it will not execute
it outputs 3.0
Submit