How do I do the python beginner course chatbot v1.0? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How do I do the python beginner course chatbot v1.0?

I have been stuck on the python for begginers course chatbot v1.0 for days can someone please help

13th Jul 2023, 5:14 PM
Orber playz
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)
13th Jul 2023, 7:25 PM
Lothar
Lothar - avatar
+ 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.
16th Jul 2023, 9:49 AM
Lothar
Lothar - avatar
+ 4
show your code, then we can help
13th Jul 2023, 5:31 PM
Angela
Angela - avatar
+ 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.
16th Jul 2023, 11:07 AM
Lothar
Lothar - avatar
+ 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
14th Jul 2023, 6:19 AM
Orber playz
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.
27th Aug 2023, 1:11 AM
Jennifer
Jennifer - avatar