Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
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))
3 Respostas
+ 9
+ 5
Remove str() from name coz name stores a string .therefore no need for conversion.
+ 3
Please tag Python for the question ā