American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Intro to Python – Joel

September 1 @ 7:00 pm - 8:00 pm

Today we did:
  1. We reviewed the homework, did password generator, and learned how to fix errors.

 

Homework:
  1. Still in Sep1_FixPythonErrors, put the following code here and try to fix:
  2. names = ["Gamas", "John", "Parna"]
    print(names[3])
    
    def add(n1, n2, n3):
        result = n1+n2+n3
        return result
    
    add(1,2)

Then, create a new file called Sep1_FixPythonErrorsHomework and copy and paste the code from here: https://www.ayclogic.com/fixing-python-bugs/

Then try to fix the code.

Details

Date:
September 1
Time:
7:00 pm - 8:00 pm