American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

2 PM – Intro To Python

July 26, 2020 @ 2:00 pm - 3:00 pm

  1. We learned about IF ELSE statements.
  2. Homework:
    1. You need to check last week homework or the exercise we did in the class to do this homework:
      1. Create your homework in this new file July26_IFELSEHomework2.py:
        1. First homework:
          1. Create a new variable “movie” set value to “toy story”.
          2. Create an IF ELSE statement that would check if the value of “movie” is equal to “toy story” it would print, “This is a very funny movie”. Otherwise, it will print “This is not a funny movie.”
        2. Second homework:
          1. Create a new variable “grade” set value to 50.
          2. Create an IF ELIF ELSE statements that would do the following
            1. if “grade” variable is < 60, then print “That is a really bad grade”.
            2. Else If “grade” variable is < 70, then print “That is a bad grade.”
            3. Else if “grade” variable is < 80, then print “That is a passing grade.”
            4. Else if “grade” variable is < 90, then print “That is pretty good grade”.
            5. else, print “That is a very good grade”.

Details

Date:
July 26, 2020
Time:
2:00 pm - 3:00 pm
Event Categories:
,