3
In python it is possible to make an impression of several types of variables using the print
. Take an example:
print(3.4, "hello", 45);
Or individually.
print(3.4);
print("hello");
print(45);
How is it possible to identify if the value being printed is of the type float
, string
or int
?
Related: How can I know if the variable is an integer in Python?
– Jéf Bueno