I got stuck :(


rint type(345)
print type(34.5)
print type('I have to push the pram a lot')

<type 'int'>
<type 'float'>
<type 'str'>

Have Python print out the type of an int, a float, and a str string in the editor. You can pick any values on which to call type(), so long as they produce one of each.


Can you include the link to this?



Is the above typo the way it appears in your code?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.