Wednesday, July 23, 2014

Day 109

Python at CodeCademy. Worked on Python tutorial 16 of 19, Functions, type()! Worked on the type() function.

The code used:
print type(42) 
print type(4.2) 
print type('spam')

The code for this interaction:
<type 'int'>
<type 'float'>
<type 'str'>

No comments:

Post a Comment