Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how do you see if a data type is an integer python

x = 10
if isinstance(x, int) == True:
  print("x is a integer")
if isinstance(x, str):
  print("x is a string")
 
PREVIOUS NEXT
Tagged: #data #type #integer #python
ADD COMMENT
Topic
Name
9+7 =