American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

3:30 PM – Intro To Python – Gamas

January 4 @ 3:30 pm - 4:30 pm

Today We Did
  1. We learned about function with no return
  2. We learned about function with return.
Homework
  1. Create jan_4_function_hw.py
    1. https://www.ayclogic.com/list-inputs-if-and-else-loops-and-function/
  2. Create jan_4_magic_8_ball.py
    1. Write a program that will continuously ask “Ask yes or no question:” and the program will answer either yes, no or maybe. You have to use while loop, input from shell and random module.
    2. Ask yes or no question: Is it cold outside?
      yes
      
      Ask yes or no question: Is it dark outside?
      no

Details

Date:
January 4
Time:
3:30 pm - 4:30 pm
Verified by MonsterInsights