0

Tell me my friends why this code does not work? And do not give (wellcom) or (goodbye)? what is the problem ?

https://code.sololearn.com/cW1cXtuh8QmE/?ref=app

6th Jun 2019, 9:33 PM
reza
reza - avatar
2 ответов
+ 2
There's nothing wrong with the code. Just enter your inputs in separate lines. girl 42
6th Jun 2019, 11:20 PM
Diego
Diego - avatar
+ 1
try like this way : print ("girl or boy : ") a= str(input()) print("you said: " + a) print("how old are you") b = int(input()) print("your old :" +str(b)) if (a== "girl" and b>=18): print ("wellcom") else: print ("goodbye") input your answers: like girl 25
6th Jun 2019, 10:11 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar