American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

6PM Python Level 1

November 17, 2018 @ 6:00 pm - 7:00 pm

  1. We went over homework from page 36 to 40.
    1. We learn the concept of “function” in python.
      1. How to create a function.
      2. How to create function parameters.
      3. How to call a function.
  2. Homeworks
    1. P.41
    2. Create a python file called “askGobo.py”
      1. Create a function called “askGobo”.
      2. This function will have one parameter called “question”.
      3. Inside the function combine “Gobo is sick and cannot answer your question: ” and the parameter “question” and print it out.
      4. Call the function twice:
        1. askGobo(“Am I handsome?”), the function will then print “Gobo is sick and cannot answer your question: Am I handsome?
        2. askGobo(“Am I cool?”), the function will print “Gobo is sick and cannot answer your question: Am I cool?”

Details

Date:
November 17, 2018
Time:
6:00 pm - 7:00 pm
Event Categories:
,