Ad
  • Custom User Avatar

    Is this applicable for all the different types of data, including subsets of the same type (i.e. sets v.s. frozensets, bytes v.s. bytearray)? If not, I think that'd be a good way to add onto this and turn it into a kata, as well as maybe adding some new types in your test cases to add double-/triple-word typenames.

  • Custom User Avatar

    (built from seraph's original change to any type)

  • Custom User Avatar

    Well, declaring as a string forces any input to be formatted as a string, from what I can tell, so I just put an int as the test to make sure that the code runs for all possible inputs, including potential miscommunication with the script for "None" or "Null" jokes.

  • Custom User Avatar

    I just made the arguments forced strings, so you can put whatever you want in whatever slot.