The Wave Equation and Finite Difference Method for a String in Python

Here is a model of a wave on a string in python. Here is the python code https://trinket.io/glowscript/87c9bd370c