ChatBot: We practiced defining variables and learned to use the input function to get users input to get users input to make the Chatbot's program.
Magic 8 Ball: I learned how to use if-else statement to create the Magic 8 Ball with 4 possible responses, For a Fact!, Very Likely, There's a chance, and IN YOUR DREAMS. There's an estimated 25% probability for each response.
Practice 4 and 5: Today I learned how to use elif and did practice 4 and 5 on my own, coding an age category thing and a movie ticket price based on age. For the age there where 4 categories of child, teenager, adult and senior, and you would be categorized based of your age; and for the movie theater it was the same code for age, but the response was different. For a senior and child, I printed an integer equation to solve the 10% discount. I multiplied the negative percent by the full price to get the price discount and added the full price to the discount.
Three If-Elif Excersise: Today was independent work day, and I completed three If- Elif excersises on my own. We practiced using if statements and if-elif statements with various games and excersises. Here are the three that I did:
Weather Clothing Advice: On the weather clothing Advice, I randomized the weather, and then connected what the person liked to what they would wear.
Day of the Week: I used random numbers to determine the day of the week
Number Guessing Game: I made a random guessing game where the computer chose the number and so did the other person, and it would tell you if it was correct, too high, or too low.