Assuming that the user provides 3 as input, what is the outp…
Assuming that the user provides 3 as input, what is the output of the following code snippet? x = 0 y = int( input(“enter a y!”) ) if y > 0 : x = 2 * y else : x = 2 + x print( “x: ” + str(y) )