This is my problem: 
How do I fix it?
[CODE lang="python" title="Python:"]def to_kmh(knots):
# Calculate the speed in km/h
x = 1.852 * i
if x < 60:
return (str(round(x,1)) + " km/h - Go faster!")
if x >= 60 and x < 100:
return (str(round(x,1)) + " km/h - Nice one.")
if x >= 100 and x < 120:
return (str(round(x,1)) + " km/h - Radical!")
if x >= 120:
return (str(round(x,1)) + " km/h - Whoa! Slow down!")
# Write the rest of your program here
i = float(input("Speed (kn): "))
print (to_kmh(i))[/CODE]

How do I fix it?
[CODE lang="python" title="Python:"]def to_kmh(knots):
# Calculate the speed in km/h
x = 1.852 * i
if x < 60:
return (str(round(x,1)) + " km/h - Go faster!")
if x >= 60 and x < 100:
return (str(round(x,1)) + " km/h - Nice one.")
if x >= 100 and x < 120:
return (str(round(x,1)) + " km/h - Radical!")
if x >= 120:
return (str(round(x,1)) + " km/h - Whoa! Slow down!")
# Write the rest of your program here
i = float(input("Speed (kn): "))
print (to_kmh(i))[/CODE]