import math

t = float(input("Enter Time (s) : "))
u = float(input("Enter Starting Velocity (m per s) : "))
a = float(input("Enter Acceleration (m per square s) : "))
s = u*t+(a*pow(t, 2)/2)
print("Distance is ", s, "m")

import math

t = float(input("Enter Time (s) : "))
u = float(input("Enter Starting Velocity (m per s) : "))
a = float(input("Enter Acceleration (m per square s) : "))
s = u*t+(a*pow(t, 2)/2)
print("Distance is ", s, "m")
