Replit
You'll need to sign up for a Replit account, a cloud-based code editing environment
You can sign in with your GitHub account if you want.
Click the blue "Fork REPL" button in the top-right corner to get a workspace to play around in.
Read the code, modify the code, play around and make sure that you understand every single line. Ask any questions that occur to you.