Ad
  • Default User Avatar

    Read the Input/Output section of the description (it's before the section that specifies all the commands). Input is passed as an optional second argument to the whitespace function, the first argument being the actual program. Ideally the input argument would be a stream, but for the purposes of this kata it's a string.