American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

3PM Python Level 1

October 21, 2018 @ 3:00 pm - 4:00 pm

  1. We went over Loopy Loops P.32 to P.35
  2. Homework
    1. Create a new python file call it “HomeworkOct21.py”
    2. Inside the file, create a for loop which will print number 4 to 20.
    3. Inside the file, create a WHILE LOOP which will keep on asking the user, “Are you hungry?” If the answer is ‘y’, print ‘Here is a burger’ and ask ‘Are you hungry?’ again . if the answer is ‘maybe’, print ‘Make up your mind!!’ and ask ‘Are you hungry?’ . If the answer is anything else, print ‘bye bye’ and quit from the loop.

Details

Date:
October 21, 2018
Time:
3:00 pm - 4:00 pm
Event Categories:
,