The program must have a function that calculates the lowest speed among those that are calculated from the data provided. The user must provide as input, 9 values, 3 in 3, which correspond to speed, acceleration and elapsed time for 3 different cars. The program must calculate, from this data, the speed of each car, and print the smallest of them. How I'm trying:
def velkmh(Vi, A, T):
V = Vi + A * T
return V
vi1 = float(raw_input())
a1 = float(raw_input())
t1 = float(raw_input())
velkmh(vi1, a1, t1)
V1 = velkmh(vi1, a1, t1) * 3.6
vi2 = float(raw_input())
a2 = float(raw_input())
t2 = float(raw_input())
velkmh(vi2, a2, t2)
V2 = velkmh(vi2, a2, t2) * 3.6
vi3 = float(raw_input())
a3 = float(raw_input())
t3 = float(raw_input())
velkmh(vi3, a3, t3)
V3 = velkmh(vi3, a3, t3) * 3.6