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