+ 2

age=25 money=500 if age>18 ? money>100 ? ("welcome")

age=15 money=500 if age>18 or money>100 print("welcome") , а если age=15 , поменять на age=25 что изменится?

2nd Mar 2019, 10:33 PM
Edie
10 Respuestas
+ 3
Fill in the blanks to print "Welcome". age = 15 money = 500 if age > 18 or money > 100: print ("Welcome")
8th Sep 2019, 5:31 PM
OUSSAMA ROMDHANI
OUSSAMA ROMDHANI - avatar
+ 2
print welcome
6th Jul 2019, 10:58 PM
Emad Amir
Emad Amir - avatar
+ 2
The ans is or & print
28th Jun 2020, 8:55 PM
Faith Mundi
Faith Mundi - avatar
+ 1
Будет более рациональнее сделать так. https://code.sololearn.com/WCG6yLGRg2JV/?ref=app
3rd Mar 2019, 5:31 AM
Евсеенко Илья
Евсеенко Илья - avatar
0
python check it out and give it a clap. Thanks...
14th Aug 2019, 1:26 PM
Bello Osagie Noah
Bello Osagie Noah - avatar
0
The answer is 'or' but could also be '!=' Fill in the blanks to print "Welcome". age = 15 money = 500 if age > 18 != money > 100: print("Welcome")
4th Jan 2020, 11:38 PM
Joseph Gould
Joseph Gould - avatar
0
age = 15 money = 500 if age > 18 or money > 100: print ("Welcome")
19th May 2020, 4:08 AM
Abdelhadi Mastakou
Abdelhadi Mastakou - avatar
0
I still confused, why the answer is "or"? i think the answer is "and", please explain
21st Jun 2020, 2:03 PM
Nur Rizki Rahmatulloh
Nur Rizki Rahmatulloh - avatar
0
1. or 2. print
27th Aug 2021, 1:21 PM
PRINCE KUMAR
PRINCE KUMAR - avatar
- 1
age 15 money =500 if age >18 or money> 100: print ("welcome")
25th May 2020, 11:49 PM
Bianca Chinonso
Bianca Chinonso - avatar