Saturday, June 14, 2014

Day 70

Explored Python at CodeCademy. Worked on Python tutorial 2 of 15, Conditionals & Control Flow, Compare Closely! Learned about control flow: comparators.

The code used:
# Assign True or False as appropriate on the lines below!
# Set this to True if 17 < 328 or to False if it is not.
bool_one = True # We did this one for you!
# Set this to True if 100 == (2 * 50) or to False otherwise.
bool_two = True
# Set this to True if 19 <= 19 or to False if it is not.
bool_three = True
# Set this to True if -22 >= -18 or to False if it is not.
bool_four = False
# Set this to True if 99 != (98 + 1) or to False otherwise.
bool_five = False

There was no interaction for this code:

No comments:

Post a Comment