Write a Python program to calculate the amount of time for an action to be completed given a set of parameters.
speed = 100;
distance = 1000;
def calculate_time(speed, distance):
 time = distance / speed 
 return time 

print(calculate_time(100, 1000)) 
# Output: 10.0