Ad
  • Default User Avatar

    Thanks, the plot thickens.

    I can get this to pass all the tests, when I put 4I in I get the expected 4I1 but on attempting it I get the following error with similar tests:

    java.lang.NumberFormatException: For input string: "6c"
    at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)

    The above passes the test phase when I manually put 6c in and I get no errors on my IDE.

  • Default User Avatar

    Can someone tell me what the answer to passing ("4I") should be please?

    I thought it should be 4I1 but it is giving an error on that answer with out of bounds (despite working on my IDE) making me think I have got the answer wrong.