American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Intro To Python – Shawn

August 13 @ 6:00 pm - 7:00 pm

What We Did
  1. Learned how to do the Magic 8 Ball project (version 2) using random.choice
  2. Learned about Python errors (AKA bugs) and how to correct them
Homework
  1. Corey:
    1. Create a new file called Aug13_StarWars:
      1. Solve all problems #1-4 from https://www.ayclogic.com/intro-to-python/star-wars-problem
      2. In your own words, answer these questions by writing them as comments in Python (Remember: you can write comments by putting a # in front of words in Thonny)
        1. What is the difference between functions with return values and functions without return values?
        2. What is the purpose of functions? How are they helpful?
  2. Everyone:
    1. Create a new file called Aug13_Magic8Ball_V2_Answers
      1. Copy and paste the code from the “Aug13_Magic8Ball_V2_Answers” file found in our class Google Drive. (This was the class code we reviewed)
      2. Store this file along with your class lesson notes/code so you can study it in the future if needed
    2. Create a new file called Aug13_PythonBugs1
      1. Fix all errors in the code from https://www.ayclogic.com/fixing-python-bugs
    3. Create a new file called Aug13_PythonBugs2
      1. Fix all errors in the code from https://www.ayclogic.com/fix-python-bugs-2
    4. Create a new file called Aug13_Quiz2Preparation
      1. Solve all problems #1-4 from https://www.ayclogic.com/intro-to-python-exercises-for-quiz-2\
    5. Hint: Remember these steps to fix Python errors
      1. Click the bottom blue line
      2. Read the error message
      3. Fix the error and rerun
  3. Contact us at gamas@ayclogic.com or allison@ayclogic.com if you have any questions or need any help

Details

Date:
August 13
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights