treying to figure out my flaw in my basic chat algorythm. cant figure out how to get it to only print one.please help! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

treying to figure out my flaw in my basic chat algorythm. cant figure out how to get it to only print one.please help!

theres a post under my name that is my basic algorythm. feel free to please tell me how to fix it so it only prints one answer apon input.! its in python!. thank yall soo much!p

4th Apr 2023, 6:33 PM
Kahlyn Student 29
Kahlyn Student 29 - avatar
1 Answer
+ 1
Notice when you wrote this question in the lower left corner was plus and written paste, with this you can add your code to the question. But that's okay, you can change that now. Now about your code. You've called the data entry function, but you're not using it. You need to assign the value of this input to some variable, and then compare this variable with these questions in the conditions.
4th Apr 2023, 8:29 PM
Solo
Solo - avatar