Question

Predict the output for below code in python X=true Y=false Z=false if not X or Y : print(“first case”) elif not X or Y or not Y and X print(“second case”) else : print(“no case”)

A first case
B second case
C no case
D second case no case
E error
Practice Next

Hey! Ask a query