Ad
  • Custom User Avatar

    spoke == 115eokp that's correct, read the description again.

    • The first letter needs to be converted to its ASCII code.
    • The second letter needs to be switched with the last letter
  • Custom User Avatar

    yup: puts input at the beginning of your function (or puts input.to_s if it's an iterable)

  • Custom User Avatar

    I'm getting a STDERR
    main.rb:10:in []=': no implicit conversion of nil into String (TypeError)
    Question: is there a way to see the test case that it's failing on, so that I can try to fix this?

    Coding in Ruby