American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

6PM Python Level 1

April 20, 2019 @ 6:00 pm - 7:00 pm

  1. We went over “Baby Name Generator” program.
  2. We reviewed the Python quiz to prepare for Python Test on May 4th, 2019
  3. Homework:
    1. Copy and paste the following broken python codes in Thonny. Fix the problem.
    2. budget1 = 50 * 5
      print ('budget1 '+budget1)
      
      abigail = 11
      ryan = 10
      
      budget2 = abigail * Ryan
      print ('budget2 '+budget2)
      
      
      hot_day = '20' < 15
      print (hot_day)
      
      if hot_day == True
      print('It is really hot out there')
      else:
      print('It is cool out there')
      
      print('I live in '+ homeTown
      hometown = 'Moscow'

       

    3. If the code has been fixed successfully, it will print the following
      1. budget1 250
        budget2 110
        False
        It is cool out there
        I live in Moscow

Details

Date:
April 20, 2019
Time:
6:00 pm - 7:00 pm
Event Categories:
,