用python编写一个程序 10
Forthemainfunctionofthislab,youhavetocallthefunctions(,ShippingCost,SoundSpeed,andOrd...
For the main function of this lab, you have to call the functions (, ShippingCost, SoundSpeed, and OrderNumbers) and print the result - in case these functions return any result-.
To do that, perform the following:
Ask the user for a float value that represents a salesman sale, then use this value as an argument for the function CalculatingCommission. Save the result and print it.
Ask the user for an integer value that represents a weight, then use this value as an argument for the function ShippingCost. Save the result and print it.
Call the function SoundSpeed.
Call the function OrderNumbers and print the returned results. 展开
To do that, perform the following:
Ask the user for a float value that represents a salesman sale, then use this value as an argument for the function CalculatingCommission. Save the result and print it.
Ask the user for an integer value that represents a weight, then use this value as an argument for the function ShippingCost. Save the result and print it.
Call the function SoundSpeed.
Call the function OrderNumbers and print the returned results. 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询