#to calculate the height of the ball at certain time

InitialVelocity=5
AccelerationOfGravity=9.81
TIME=0.9

PositionOfTheBall=InitialVelocity*TIME-0.5*AccelerationOfGravity*TIME**2

print "At t=%g s, the height of the ball is %.2f m" %(TIME, PositionOfTheBall)

Create Height.py