Monday, July 14, 2014

Day 100

Python at CodeCademy. Worked on Python tutorial 7 of 19, Functions, I Know Kung Fu! Testing what Python knows about square roots.

The code used:
print sqrt(25)

The interaction for this code looked like this:
Traceback (most recent call last):
File "python", line 3, in <module>
NameError: name 'sqrt' is not defined

No comments:

Post a Comment