American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM – Intro To Python – Gamas

January 10 @ 3:00 pm - 4:00 pm

Today We Did
  1. We reviewed function and its purpose
Homework
  1. Memorize how to create a function.
    1. Example def greeting(name)
      1. def
      2. name of the function – “greeting”
      3. function parameter – “name”
  2. Create a new python file jan_10_many_functions_hw.py
    1. Create 4 functions
      1. Create a function favorite_movie
        1. When I call the function – favorite_movie() then it will print “I like Titanic movie by Leonardo Di Caprio.”
      2. Create a function – add_two_integer
        1. When I call the function – add_two_integer(10, 3) then it will print “The addition is 13.”
      3. Create a function tell_me_a_short_story
        1. When I call the function – tell_me_a_short_story(“Alyssa”, 13, “dance”).
          1. then it will print. “Alyssa is a beautiful girl, who love  dance and 13 years old. Aside from dance, Alyssa also like other cool activities. And next year she will be 14 years old.”
        2. When I call the function – tell_me_a_short_story(“Elizabeth”, 17, “volleyball”)
          1. then it will print “Elizabeth is a beautiful girl, who love volleyball and 17 years old. Aside from volleyball, Elizabeth also like other cool activities. And next year she will be 18 years old.”
      4. Create a function dance_technique
        1. When I call the function – dance_technique(“ballet”)
          1. then it will print “Ballet techniques are the foundational movements, principles, and training methods (like Vaganova, Cecchetti, French) that create ballet’s characteristic grace, precision, and fluidity, focusing on core concepts like turnout (rotating legs from hips), alignment, and graceful port de bras (arm movements)”
        2. When I call the function – dance_technique(“tango”)
          1. then it will print “Tango dance techniques focus on a grounded, close embrace with sharp, staccato movements and fluid walking, emphasizing connection and musicality through specific footwork like ochos (figure eights) and boleos (leg swings)”

Details

Date:
January 10
Time:
3:00 pm - 4:00 pm