Boston Python Workshop 3/Friday/Tutorial: Difference between revisions
Content added Content deleted
imported>Jesstess |
imported>Jesstess |
||
Line 620:
<pre>
▲x = type(my_var)
</pre>
Running this assigns the type of <code>
We also saw the <code>str</code> function, which returns a string representations of an objects so we can print it. For example:
|