Type()


#1



https://www.codecademy.com/courses/python-beginner-c7VZg/3/5?curriculum_id=4f89dab3d788890003000096#

I'm being told that my type commands aren't working except I patterned them off the examples.


print type(44)
print type(4,2)
print type('halo')


#2

post full code plz :slight_smile:


#3

that is all my code. That's everything I have written.


#4

this is the error :slight_smile:


#5

it should be (4, 2) with a space


#6

look at second line its not float print type(4,2) it should be print type(4.2) you are using "," instead "."


#7

How so? I followed the example exactly. That's how the example said to write it. So I don't understand how it's wrong.


#8

Oh!! So instead of a comma it's a period in between! Ok. Got it.


#9

@s09abcd explained why


#10

Hi, you put a comma instead of a decimal point DUDE!!!:slight_smile:


#11

Do you know how to delete a post?!?!!:confused: