ruoyi_task.py 231 B

12345678910111213
  1. # -*- coding: utf-8 -*-
  2. # @Author : YY
  3. def multiply_args(x, y):
  4. print("多参方法: x: {} y: {}".format(x, y))
  5. def one_args(x):
  6. print("单个参方法: x: {} ".format(x))
  7. def no_args():
  8. print("无参方法")