0

why prints it "no output"

#simple calculator #divide is ÷ not \ x = input() y = input(" ") z = input() if y == ("+"): a = int(x) + int(z) print (x + "+" + z + "=" + str(a)) elif y == ("-"): a = int(x) - int(z) print (x + "-" + z + "=" + str(a)) elif y == ("÷"): a = int(x) / int(z) print(x + "÷" + z + "=" + str(a)) elif y == ("×"): a = int(x) * int(z) print(x + "×" + z + "=" + str(a)) why are the last two printing no output

14th Aug 2016, 2:25 AM
yunus0266
1 Resposta
0
remove double quotes of y=input(" ") and then try..
14th Aug 2016, 5:13 PM
Jayvardhan Deshmukh
Jayvardhan Deshmukh - avatar