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.

1st Sep 2025, 3:21 AM
E John
E John - avatar
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
1st Sep 2025, 3:27 AM
Unknown Decoder
Unknown Decoder - avatar
0
Hi! you probably meant something like that? user_input = input() # this input will be saved as a data type - string print(user_input)
1st Sep 2025, 3:33 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
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.
1st Sep 2025, 3:38 AM
E John
E John - avatar