Monday, June 23, 2014

Day 79

Explored Python at CodeCademy. Worked on Python tutorial 11 of 15, Conditionals & Control Flow, Conditional Statement Syntax! Learned some more about the "if" is conditional statement.

The code used:
response = 'Y'
answer = "Left"
if answer == "Left":
print "This is the Verbal Abuse Room, you heap of parrot droppings!"

The interaction for this code looked like this:
This is the Verbal Abuse Room, you heap of parrot droppings!

No comments:

Post a Comment