Did you remember to print?


#1

help me

Print out the types of an integer, a float,

and a string on separate lines below.

print int(42)
print float(4.2)
print str("spam")

Oops, try again. Did you remember to print ?


17.Functions
#2

Don't you need to do
print type(42)
and replace float and str with type as well?
I don't have the instructions or link, but I'm pretty sure that's what it's asking for.


#3

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