Issue in replit

I’m not getting the the output in replit as same as in AI lecture video module-1 (Training input for AI code) . can u please help me to edit my code and what how to do with it .

this is the output that i runned in my replit …

this is from the lecture video .

Hi @indoorubhargavi

Your code is correct. The output in both the screenshots are different because the prompts ( questions) asked in the console are different and thus provide different answers. Also to get a clean output in your console, you can store the response in a variable and then print it. Below is an example:


If you still face any issues, please feel free to get back to us.

1 Like

Thank you
@sneharsh.kerkar its working now

1 Like