0

x = 10 y = 20 x > y print("if statement") print("else statement")

what is the answer and why

25th Jun 2019, 6:55 AM
MellissaKoda
MellissaKoda - avatar
4 ответов
0
It'll print "else statement" because x is less than y
25th Jun 2019, 7:43 AM
Mensch
Mensch - avatar
0
In speech: if you have money more than 10 euros, then you can buy a new mouse. Otherwise you can not buy a new mouse. In program: if money > 10: print("You can buy a new mouse.") else: print("You can not buy a new mouse.")
25th Jun 2019, 11:27 AM
Seb TheS
Seb TheS - avatar
0
it print else statement because 10 is less than 20
25th Jun 2019, 12:21 PM
Muskan Singh
Muskan Singh - avatar
0
27th May 2021, 5:06 PM
Dilnora Jo'rayeva
Dilnora Jo'rayeva - avatar