6 Answers
+ 9
Orber playz ,
the task is described as a comment in the exercise:
# Ask the user for input and store it in a variable <= first step
name =
# Display the user input on the screen <= second step
> if you still get stuck it is recommended to repeate the lessons of the tutorial *introduction to python* (you may have learned this already but a year ago as we can see)
+ 5
Orber playz ,
if you are really talking about chatbot 1.0 in the *introduction to python* tutorial, please follow the instructions from my last post.
the *sample* names given in the task description are not meaning that we have to use multiple inputs in the code. what we need is:
> 1 input by using input() function. do not use anything inside the parenthesis of the function. store the result directly in a variable. name = ...
> 1 output by using the print() function.
thats all. the code should consist of just these 2 lines of code.
+ 4
show your code, then we can help
+ 4
Sara Heden ,
it is not seen as very helpful when we are going to post a *ready-made code*.
it is more helpful to give hints and tips, so that the op has a chance to find a solution by himself.
+ 1
https://code.sololearn.com/ct97HRBrzNkz/?ref=app
It's not got the output thing at the end but on the actual lesson itself it will go
Tom
Alice
Bob
But says it's wrong as there all going down in a line and I don't know how to fix it
0
I've been stuck for days attempting to figure out how to create a different code line for problems 1, 2, & 3. The initial input and output is pretty obvious.
Name = "Tom"
Print(Name)
How do I print Tom, Alice, and Bob individually for each problem?
The issue with this is not that people are looking for a ready made answer, but that the solution and/or hints are not explained in a way that people understand. if people have a difficult time understanding a concept, consider rephrasing.