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

0

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")
Posted by: Guest on July-24-2021

Code answers related to "how do you see if a data type is an integer python"

Python Answers by Framework

Browse Popular Code Answers by Language