7 Answers
0
Try with raising exceptions: TypeError?
0
sorry I couldn't not understand
0
Yeah sorry my fault... Here is a link to the module I am talking about: https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2440/
0
There is something called type()-function. Example :
>>>t = 42
>>>print(type(t) is int)
True
>>>print(type(t))
<type 'int'>
0
I want in python
0
It's python code. I removed one typo. Sry for this.
0
x = input()
if x/2 { if it is float}
print (float)
else print( int)
can u make this in Python code...so I could understand...plz