American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

6PM Python Level 1

October 20, 2018 @ 6:00 pm - 7:00 pm

  1. We went over Loopy Loops from page 34 to 35
  2. Homework:
    1. Create a new python file call it “HomeworkOct20.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 again?’ . If the answer is anything else, print ‘bye bye’ and quit from the loop.

Details

Date:
October 20, 2018
Time:
6:00 pm - 7:00 pm
Event Categories:
,