I do not want to print when it is def function,

前端 未结 0 391
执念已碎
执念已碎 2021-02-14 04:23
def z:
a = 2
b= 5
c = a+b
print (a)
return (c)

I want to print (a) for some point and I do not want to print when I do not need it. What should I do?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题