python—— python自定义函数

def add (x):
	y = x + 1
	return y
res = add (2)
print(res)
# 3

Guess you like

Origin blog.csdn.net/qq_43201350/article/details/120110932