Whatā€™s wrong? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Whatā€™s wrong?

Canā€™t pass the test age = int(input()) name = input() if age >=18: print ("Welcome "+str(name)) else: print ('Sorry '+str(name))

29th Sep 2020, 5:51 AM
Mikhail Kulikov
3 Respostas
29th Sep 2020, 6:12 AM
Simba
Simba - avatar
+ 5
Remove str() from name coz name stores a string .therefore no need for conversion.
29th Sep 2020, 5:58 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 3
Please tag Python for the question ā˜
29th Sep 2020, 6:15 AM
Ipang