Sunday, June 15, 2014

Day 71

Explored Python at CodeCademy. Worked on Python tutorial 3 of 15, Conditionals & Control Flow, Compare... Closelier! Learned about extreme expressions and comparators.

The code used:
# Assign True or False as appropriate on the lines below!
# (20 - 10) > 15
bool_one = False # We did this one for you!
# (10 + 17) == 3**16
# Remember that ** can be read as 'to the power of'. 3**16 is about 43 million.
bool_two = False
# 1**2 <= -1
bool_three = False
# 40 * 4 >= -4
bool_four = True
# 100 != 10**2
bool_five = False

There was no interaction for this code:

No comments:

Post a Comment