Creating a chatbot with Python

in #life2 months ago

ChatBot with Python

Hi, I'm back and today I wanted to talk about a thing I learned at school some days ago, which was creating a simple but effective chatbot using Python.

I found this topic very interesting and fun as I could create something that I could personalize for example I wanted to add a library that could give me information on different football teams, like when were they founded or their history but I found it too difficult. But I made sure that the chatbot could do simple mathematics like multiplications, divisions, subtractions and addition that was by adding the library "math" where it had all the information and code lines to do the mathematical equations. I also had other libraries like "datetime" that was to tell me the year day month and time at the exact moment, or I had another one that was "random" that could give me random responses on themes that I wanted. In the image you can see the libraries at the top left.

image.png

I found this task very interesting and I will continue looking at it in the future and improving it. Soon I will probably be posting a post about creating a bot.

See you next post 👋

Agent 8 closes his doors.

Sort:  

Congratulations @agent8! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You distributed more than 7000 upvotes.
Your next target is to reach 8000 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP