Ad
  • Custom User Avatar

    Can someone please tel me WTF is this?

    Traceback (most recent call last):
    File "main.py", line 37, in
    Test.assert_equals(increment_string(x), sklasdfjioweu2(x))
    File "/home/codewarrior/solution.py", line 6, in increment_string
    digit: int = int(strng[first_digit:])
    ValueError: invalid literal for int() with base 10: '50866928773F4eS^I237793130000009'

  • Custom User Avatar

    Needless to say that the calculation should be dynamic and not hardcoded...