American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM – Intro to Python – Sebastian

April 6 @ 3:00 pm - 4:00 pm

Today We Did

  1. Reviewed conditionals like if, elif, and else
  2. Learned about user input
    1. User input can be retrieved using input()
    2. All user input turns into a string data type
  3. Class code: https://drive.google.com/drive/folders/1CtwIu3EczMxWU83o5ECJylqtfCmTKvb9
  4. AYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/
  5. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Please submit your homework to the corresponding project’s folder in your Google Drive
  2. Homework:
    1. 5-3, 5-4 from page 84 in the book.
    2. Complete the following prompt, and add to the homework file:
    3. Get input from shell: “What grade are you in? ”
      1. If user enter ‘1’ or ‘1st’ or ‘first’ or ‘pertama’ then print ‘You are learning to read.’
      2. If user enter ‘2’ or ‘2nd’ or ‘second’, then print ‘You are learning multiplication.’
      3. If user enter ‘3’ or ‘3rd’ or ‘third’, then print ‘You are learning shapes.’
      4. Else, then print ‘I don’t know what you are studying.’

Details

Date:
April 6
Time:
3:00 pm - 4:00 pm
Event Categories:
,
Verified by MonsterInsights