Calling a function in a separate file with parameters defined on the initial one

前端 未结 0 1793
轮回少年
轮回少年 2021-01-30 10:03

Suppose I have the following in a python file with the name: file1.py

a=1
def f(x):
  return x+a

Now, in another file (Let\'s say

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