Ad
  • Custom User Avatar

    this will throw TypeError if values other than int, float are passed
    not point of checking the range of numbers if the type is coming invalid.
    alternatively - you can use isinstance