Casting - 整数

  1. x = int(1)
  2. y = int(2.5)
  3. z = int("3")
  4. print(x)
  5. print(y)
  6. print(z)