On this page, you will find all the lessons that were done on Google Colab. After students learned and practiced Python concepts on Codersters, they would write code from scratch on Google Colab.
ChatBot: I practiced defining variables and learned to use the input function to get user's input to create a ChatBot program.
Magic 8 Ball: I learned to use the if-else statement to create the Magic 8 Ball with four possible responses: absolutely, most likely, possibly, and in your dream. The probability of each answer is 25%.
For this lesson, I learned how to use the "elif" code to make things easier. I created a grading system and a simple calculator in class with the teachers instructions.
For this, I practiced more elif statements, and I created games and programs using them. I created a number guessing game, a age catagory sorter, and the discount for tickets in a theater.