+ 3
Trying to solve welcome, solo learner! In python core
My code keeps outputting welcome, user instead of welcome , and the input def welcome_message(): #redesign this function user= input() print("Welcome, user") welcome_message()
25 Answers
+ 12
You have made a little mistake with the syntax. Replace the line of print with
print ("Welcome",user) instead of print("Welcome,user")
+ 12
This works
def welcome_message():
name = input()
print("Welcome,",name)
welcome_message()
The double commas tripped me up.
+ 6
Very welcome!
+ 2
def welcome_message():
user_name = input()
print("Welcome, " ,user_name) or (Welcome, " + user_name)
welcome_message()
def this_does_not _work(Why?):
Your_answer = input()
Print(your _anser) # Please
+ 2
def welcome():
#redesign this function
user= input()
print("Welcome,", user)
welcome()
+ 1
def welcome():
#redesign this function
user= input()
print("Welcome,", user)
welcome()
+ 1
def welcome():
user=input()
print("Welcome"+',', user)
welcome()
+ 1
def welcome():
user=input()
print("Welcome"+',', user)
welcome()
that is the correct answer.
the user inside the print should match the user before the input
+ 1
def welcome():
user=input()
print("Welcome,",user)
welcome()
+ 1
int[] x = {3, 2, 1};
System.out.println(x.length);
0
Thanks
0
I am a little lost, My code
def welcome_message():
#redesign this function
name = input()
print("Welcome,"+ name)
welcome_message()
When I ran, it's ok.
But it's not the correct answer.
What I am doing wrong?
Thank you
0
def welcome_message():
name = input()
print("Welcome,",name)
welcome_message()
0
I couldn’t solve this issue even try several times.
I have applied all solutions which had been posted here but none of them worked.
Surprisingly i applied Constantine Tvalashvili's solution and succeeded .
Thanks a lot Constantine 🙏🏻.
def welcome_message(name):
#redesign this function
return "Welcome, " + name
print(welcome_message(input()))
0
I have tried this and it works
def welcome_message(user):
user = input()
print("Welcome, "+ user)
welcome_message("Bob")
0
name = input()
def message():
print("welcome " + name)
message ()
0
name = input()
print("Welcome, " + name
0
1)
def welcome_message():
#redesign this function
name = input()
print("Welcome,",name)
welcome_message()
2)
def welcome_message():
#redesign this function
name = input()
print("Welcome, " + name)
welcome_message()
0
Answer
0
def welcome_message():
name = input()
print("Welcome,",name)
welcome_message()