American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Intro to Python – William

January 20 @ 5:00 pm - 6:00 pm

Today We Did
  1. Reviewed Jan13_FunctionsHW.py
Homework
  1. Finish Exercise 7 at https://www.ayclogic.com/list-inputs-if-and-else-loops-and-function/
  2. Make for following functions in a new file: Jan20_FunctionsHW5.py
    1. Write a function called echo that takes a string as input and prints it twice.
    2. Write a function called double that takes in a number and returns double the value of the number. Call the function and print its output.
    3. Write a function called count that takes a number as input and prints a countdown from 1 to that number. For example, calling count(5) should print:
1
2
3
4
5

If you have any questions, please email me at williamsmith@ayclogic.com.

Details

Date:
January 20
Time:
5:00 pm - 6:00 pm
Event Categories:
,
Verified by MonsterInsights