1. The function name is sillyfunc.
  2. The input type is a number (integer or float).
  3. The output type is a number (float).
  4. The instruction (code) for calculating the function is to divide the input by 5.
  5. Line 3 prints the output of calling the sillyfunc function with an input of 4.
  6. Line 4 calls the sillyfunc function with an input of 3, but does not print the output.
  7. You can run the function as many times as you want without rewriting it. You can simply call the function with different inputs.
def sillyfuncx return x 5print sillyfunc4sillyfunc31 What is the function name2 What is the input type3 What is the output type4 What is the instruction code for calculating the function5 what doe

原文地址: https://www.cveoy.top/t/topic/i7Ox 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录