Friday, May 16, 2014

Day 41

Explored Python at CodeCademy. Worked on, Python Syntax tutorial 12 of 13, learned about using a modulo to returns the remainder from a division.

The code used:
#Set spam equal to 1 using modulo on line 3!
spam = 3 % 2
print spam

The interaction looked like this:
1

No comments:

Post a Comment