+ 1
Can i write like if a = float print this
If no how to write it in the correct form
4 Respostas
+ 5
You can use this snippet
a = float(5.644)
if type(a) == float :
print(a)
else:
print("no")
+ 7
Move ahead in your tutorial, you will eventually get an answer. Float is a numeric data type.
+ 6
In what language?