Python Playground - 1d elastic collisions demo: Online Interpreter, Compiler & Editor | Sololearn