Ad
  • Custom User Avatar

    Sure but it also specifies in the description, "a number between 0-9"

    Nobody is saying its best practices for all scenarios but lets be honest, if its higher than what you're expecting, returing a default of zero is fine imo.

  • Default User Avatar

    If you enter 11 the code return "Zero". I don't think this is a "best practice."