0

I can't pass this one, pls help

def welcome(): name = input() print("Welcome, Bob") welcome() def welcome(): name = input() print("Welcome, " + "Dave" ) welcome()

19th Dec 2022, 7:16 PM
Julian Jose Gargallano
2 ответов
+ 1
Which course is it, which task number, Only define the function once. Only call the function once. Use the name variable with the input in your code.
19th Dec 2022, 7:22 PM
Lisa
Lisa - avatar
0
Use the input name value in code to display output... Not to hard code. It should output "welcome" + <here any name given as input. >
19th Dec 2022, 7:36 PM
Jayakrishna 🇮🇳