Ad
  • Custom User Avatar

    Your code is wrong, and it duplicates the first char number. The kata is fine. Read the error message for the first sample test:

    expected '20 20 8 5 19 21 14 19 5 20 19 5 20 19 1 20 20 23 5 12 22 5 15 3 12 15 3 11' 
    to equal '20 8 5 19 21 14 19 5 20 19 5 20 19 1 20 20 23 5 12 22 5 15 3 12 15 3 11'
    

    There are two 20s there, instead of skipping the kata, try fixing your code. That's the only way to learn.

  • Default User Avatar

    well... you can print it

    def bouncing_ball(h, bounce, window):
        print(f'h      = {h}')
        print(f'bounce = {bounce}')
        print(f'window = {window}')