0
Need help on this. Iām a beginner and I donāt know how to do this.
Iām trying to make a prototype AI based on what I know on Python (which is next to nothing, if Iām being honest) and I have no idea how to print a string based on a specific user input.
3 Answers
+ 1
Then you should first get started with the basics at:
https://www.sololearn.com/learn/courses/JUMP_LINK__&&__python__&&__JUMP_LINK-introduction
Then move to intermediate, then to developer.
Making a real AI is hard but after learning basics - you can make some simple chatbots with using dictionaries or if-else trees
0
Hi! you probably meant something like that?
user_input = input()
# this input will be saved as a data type - string
print(user_input)
0
Not really.
I wasnāt clear, I guess.
I meant more along the lines of if a specifc input() command was entered, it would print a specific line of code.