Create list in while loop in python
Hi all, I've made a programme to calculate and plot the vertical and horizontal distance of a projectile when fired at an initial entered velocity at an angle. The code produces a correct plot but I can't seem to print the maximum vertical distance. I use a while loop that breaks when the distance gets to zero. Is it best to create a list and add on new distance values each time? Thanks!