Saturday, May 10, 2014

Day 35

Explored Python at CodeCademy. Worked on, Python Syntax tutorial 5 & 6 of 13, learned about whitespace.

The code used:
Started with
def spam():
eggs = 12
return eggs
print spam()

Ended with
def spam():
eggs = 12
return eggs
print spam()

The interaction looked like this:
12

No comments:

Post a Comment