BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//American Young Coder - ECPv6.10.1.1//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:American Young Coder
X-ORIGINAL-URL:https://www.ayclogic.com
X-WR-CALDESC:Events for American Young Coder
REFRESH-INTERVAL;VALUE=DURATION:PT1H
X-Robots-Tag:noindex
X-PUBLISHED-TTL:PT1H
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:20180311T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20181104T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20181102T180000
DTEND;TZID=America/Los_Angeles:20181102T190000
DTSTAMP:20260501T093414
CREATED:20181103T043748Z
LAST-MODIFIED:20181106T044418Z
UID:417-1541181600-1541185200@www.ayclogic.com
SUMMARY:7PM Python Level 1
DESCRIPTION:We went over Homework October 19.py\nWe went over Homework Magic8Ball.py\nPython Quiz next week November 10\, 2018\n\nPlease study Last Quiz (3 weeks) ago.\nPlease study Homework October 19\nPlease study Homework Magic8Ball.py\nPlease study how to use List\, how to print element inside a List.\n\n\nSome exercises to prepare for the test\n\nExercise 1:\n\nCreate a function called “printSomething()”\n\nInside the function generate a random number between 1 to 4 and set/save it into variable called “randomNum”.\nIf computer pick number 1\, then print “Hi number one is cool.”\nIf computer pick number 2\, then print “Number two is cooler.”\nEverything else then print “<randomNum> is the best”.\nCall the function.\n\n\n\n\nExercise 2:\n\nCreate a python function name “subtractTwoNumbers” takes 2 parameters. Subtract 1st parameter with the 2nd parameter and return the value.\nCall the function and set/save return value to a variable call “result”.\nAnd then print “Result of subtraction is <whatever the result from the function>”\nFor example\, if I call the function like the following “subtractTwoNumbers(10\,2)” \, “result” variable will have a value of 8 and the print will print “Result of subtraction is 8”.\n\n\nExercise 3:\n\nCreate a function called “starwars”\, no parameter.\n\nCreate a variable with data type List of String call it “robots”.\nThe value of this”robots” variable is: “R2-D2”\, “C-3PO”\, “ASN-121”.\nprint each of these name using the list inside this function.\nCall this starwars function. When I call\, it will print the following from inside the function.\n\n\nR2-D2\nC-3PO\nASN-121\n\n\n\n\n\n\n\nExercise 4:\n\nCreate a function called “starwars2”. no parameter.\n\nCreate a variable with data type List of String call it “robots”.\nThe value of this “robots” variable is: “R2-D2”\, “C-3PO”\, “ASN-121”.\nGenerate a random number between 0 to 2 and set it into a variable called “idx”.\nUse this “idx” variable to print one of the elements inside the List. For example\, if “idx” is 0\, the function will then print “R2-D2”. If “idx” is 1\, then the function will print “C-3PO”.\n\n\n\n\nExercise 5:\n\nCreate a function called “starwars3”\, one parameter.\nCopy the code from “starwars2” function into “starwars3” function.\nInstead of just printing the robot name\, combine the robot name with the parameter.\nFor example\, if user call the function like the following\n\nstarwars3(" is the best")\n\nAnd if the computer pick random number 1\, then it will print\n\nC-3PO is the best
URL:https://www.ayclogic.com/event/7pm-python-level-1-3/
CATEGORIES:Python Class,Python Level 1
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20181103T180000
DTEND;TZID=America/Los_Angeles:20181103T190000
DTSTAMP:20260501T093414
CREATED:20181106T040141Z
LAST-MODIFIED:20181106T040141Z
UID:431-1541268000-1541271600@www.ayclogic.com
SUMMARY:6PM Python Level 1
DESCRIPTION:We went over last week homework.\n\nLearned how to generate random number generator.\nLearned how to do forever loop using While loop.\nWe learned how to make Magic 8 Ball program.\n\n\nHomework:\n\nCreate a new python file in Thony\, name it Nov3_2018Homework.py.\nCreate a new variable called “students”. Data type of this variable would be List of String and value would be: “Vivian”\, “Jessalyn”\, “Eason”.\nCreate a for loop which will go through each of the String inside the List and print the name. This is what you need to put to loop through each of the String inside the List.\nfor name in students:   \n    print(name)\n\nRun above program and make sure it prints like the following\n\n\nVivian\nJessalyn\nEason\n\n\n\nNow change above program to do the following inside the loop\n\nGenerate a random number between 1 to 3. Look at last week homework to know how to do this.\nIf generated number is 1 print “I am a Python programmer\, my name is <whatever the name from students>\nIf generated number is 2 print “I am a Scratch programmer\, my name is <whatever the name from students>\nIf generated number is 3 print “I am a Java programmer\, my name is <whatever the name from students>
URL:https://www.ayclogic.com/event/6pm-python-level-1-5/
CATEGORIES:Python Class,Python Level 1
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20181109T190000
DTEND;TZID=America/Los_Angeles:20181109T200000
DTSTAMP:20260501T093415
CREATED:20181112T025745Z
LAST-MODIFIED:20181112T025745Z
UID:458-1541790000-1541793600@www.ayclogic.com
SUMMARY:7PM Python Level 1
DESCRIPTION:Python Quiz 1 retake 1.5 hour.\nHomework: No homework.\n\n 
URL:https://www.ayclogic.com/event/7pm-python-level-1-4/
CATEGORIES:Python Class,Python Level 1
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20181110T180000
DTEND;TZID=America/Los_Angeles:20181110T190000
DTSTAMP:20260501T093415
CREATED:20181111T032825Z
LAST-MODIFIED:20181111T032825Z
UID:454-1541872800-1541876400@www.ayclogic.com
SUMMARY:6PM Python Level 1
DESCRIPTION:We went over last week homework. Learning List and how to go through each of the element inside the list using for loop. We learned how to generate a random number.\nHomework:\n\nP.36 through P.40
URL:https://www.ayclogic.com/event/6pm-python-level-1-6/
CATEGORIES:Python Class,Python Level 1
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20181116T180000
DTEND;TZID=America/Los_Angeles:20181116T190000
DTSTAMP:20260501T093415
CREATED:20181117T164605Z
LAST-MODIFIED:20181117T164605Z
UID:463-1542391200-1542394800@www.ayclogic.com
SUMMARY:6PM Python Level 1
DESCRIPTION:We went of Starry Night project from the book\, page 90.\nHomework:\n\nMake the program draw stars in different sizes every time it loops.
URL:https://www.ayclogic.com/event/6pm-python-level-1-7/
CATEGORIES:Python Class,Python Level 1
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20181117T180000
DTEND;TZID=America/Los_Angeles:20181117T190000
DTSTAMP:20260501T093415
CREATED:20181118T033653Z
LAST-MODIFIED:20181118T053803Z
UID:475-1542477600-1542481200@www.ayclogic.com
SUMMARY:6PM Python Level 1
DESCRIPTION:We went over homework from page 36 to 40.\n\nWe learn the concept of “function” in python.\n\nHow to create a function.\nHow to create function parameters.\nHow to call a function.\n\n\n\n\nHomeworks\n\nP.41\nCreate a python file called “askGobo.py”\n\nCreate a function called “askGobo”.\nThis function will have one parameter called “question”.\nInside the function combine “Gobo is sick and cannot answer your question: ” and the parameter “question” and print it out.\nCall the function twice:\n\naskGobo(“Am I handsome?”)\, the function will then print “Gobo is sick and cannot answer your question: Am I handsome?“\naskGobo(“Am I cool?”)\, the function will print “Gobo is sick and cannot answer your question: Am I cool?”
URL:https://www.ayclogic.com/event/6pm-python-level-1-8/
CATEGORIES:Python Class,Python Level 1
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20181130T180000
DTEND;TZID=America/Los_Angeles:20181130T190000
DTSTAMP:20260501T093415
CREATED:20181202T004942Z
LAST-MODIFIED:20181202T004942Z
UID:516-1543600800-1543604400@www.ayclogic.com
SUMMARY:7PM Python Level 1
DESCRIPTION:We went over the Stary Night homework.\nWe completed Stary Night project from page 90 to 96.\n\nWe learned the difference between “random.randrange” and “random.randint”.\nWe learned how to choose random element inside a list using random index and random.choice.\nWe learned how to create star in the Stary Night project by clicking.\n\n\nHomeworks:\n\nCreate a python file call it “MegaRandom.py”\n\nCreate a variable data type is list of string call it “gospel” and the value would be “Matthew”\, “Mark”\, “Luke”\, “John”.\nCreate a function call it “giveMeRandomGospel1” with no parameter.\n\nIn this function return a random element from list “gospel”. Use “random.randrint” to select a random element from the list.\nCall this function and concatenate the result with “Random gospel1 = ” and print the result to the screen.\n\nFor example\, the result could be something like the following if you call the function twice and print the result twice\n\nRandom gospel1 = Mark\nRandom gospel1 = John\n\n\n\n\n\nCreate a function call it “giveMeRandomGospel2” with no parameter.\n\nIn this function return a random element from list “gospel”. DO NOT use “random.randint” to select a random element from the list. Look at previous class to see which other random function you can use to select random element from list.\nCall this function and concatenate the result with “Random gospel2 = ” and print the result to the screen.\n\nFor example\, the result could be something like the following if you call the function twice and print the result twice\n\nRandom gospel2 = Mark\nRandom gospel2 = John\n\n\n\n\n\n\n\nModify the previous homework file “stary_night.py” to do the following\n\nCreate a new function call it “draw_planet” with 4 parameters: size\, color\, x\, y.\nLook at page 97 on how to create “draw_planet” function. Inside the book the size of the circle is always 50. Modify the size of the circle to be according to parameter size.\nIn the project\, inside the loop which creates the random stars\, modify the code so it will do the following\n\nIF random.randint(1\,2) == 1 call “draw_planet” function  ELSE call “draw_star” function.
URL:https://www.ayclogic.com/event/7pm-python-level-1-5/
CATEGORIES:Python Class,Python Level 1
END:VEVENT
END:VCALENDAR