def calculate_fee(distance_travelled): return 10+2 *distance_travelled for x in [1.0,3.0,5.0,9.0,10.0,20.0]: print(calculate_fee(x))
标签:distance,pp,fee,calculate,2023,pycharm,3.28,travelled From: https://www.cnblogs.com/azwz/p/17288182.html
def calculate_fee(distance_travelled): return 10+2 *distance_travelled for x in [1.0,3.0,5.0,9.0,10.0,20.0]: print(calculate_fee(x))
标签:distance,pp,fee,calculate,2023,pycharm,3.28,travelled From: https://www.cnblogs.com/azwz/p/17288182.html