#in file calc.py i wrote the following code
def Div(a,b):
return a/b
#in another file i wrote following code to import module calc
import calc
c= calc.Div(4,2)
print(c)
跃然一笑
相关分类