Posts by Precival Víctor • 11 points
1 post
-
1
votes3
answers82
viewsA: How do I differentiate an int and float value for my program
To differentiate types of variables in Python, there is the function type() which receives a variable per parameter, and returns a metaclass for the type of data stored in it. Example to check if a…
pythonanswered Precival Víctor 11