📌 Overview


🎯Learning Objectives

  • [ ]

💡Key Concepts & Definitions

➗ Formulas


✍️ Notes


🔗 Resources

  • Presentation:

❓ Post lecture


📖 Homework

Please complete the assignments and include your picture (flow chart) and a link to you colab notebook in a single pdf and upload it here.

Assignments: 

1 Algorithmic thinking (pseudocode): 

Develop a clear and logical flowchart to show the steps required to sort the numbers (from the smallest to the largest) in a list of numbers. The flowchart should visually represent the process, including decision points, input/output, and the sequence of operations. No coding is required; the focus is on understanding and planning the algorithm.

  1. Write Code (Rock-Paper-Scissors): 

Create a Colab notebook and write a Python code that simulates a single round of Rock, Scissors, Paper using only variables, operators, and lists (without if or for statements). The output of your code should look like this

Please enter 0 (for Rock), 1 (for Scissors), or 2 (for Paper): 2

Computer chose 1

Computer Wins!

Hint: To select a random value from a list you can use the following code:

import random

computer_choice = random.choice([0,1,2])