# Write Python code that stores the distance
# in meters that light travels in one
# nanosecond in the variable, nanodistance.
# These variables are defined for you:
speed_of_light = 299800000. # meters per second
nano_per_sec = 1000000000. # 1 billion
# After your code,running
# print nanodistance
# should output 0.2998
# Note that nanodistance must be a decimal number.
# ASSIGN nanodistance BELOW this line
------------------------------------------
speed_of_light/nano_per_sec = nanodistance
print nanodistance
'不正确。运行您的代码时出错。检查您在同一行的代码前面没有空格。
为什么这不起作用?
我想我可以做到print nanodistance = 0.2998