Comment voyez-vous si un type de données est un python entier

x = 10
if isinstance(x, int) == True:
  print("x is a integer")
if isinstance(x, str):
  print("x is a string")
Shiny Salamander