Coding to the third degree.

Hey all! This is another AP, one of my final ones for this term. This time, it's for Coding! During this unit, we learnt about if-else statements, how to use them, and how we can even shorten the work but using elif. This is a chatbot I made using if-else and elif statements. It's basic, but I am proud of it! Hope you enjoy.

Also, just to make sure you're not confused: the way you use the chatbot is by first typing a number, and then, depending on what what number you typed, you might need to type a number or a common phrase you use to respond to questions with.
 

At first, I had no real idea on what to do. This project had me think a lot more about the direction I wanted to go, not only because I had to figure out how to get multiple questions into actual code, but because I had to think about what type of questions I wanted to ask. Fun fact: some code here was repurposed from my old assignments. It's nice to be able to use things you made before in projects like this. 

Comments

Popular Posts