May-25-2023, 01:37 PM
I have one error for no defined as "a". How can we define "a"?
import a as l
def sum (x, y):
return x + y
# calls the sum function defined in the module a
print (l.sum(2, 6))
import a as l
def sum (x, y):
return x + y
# calls the sum function defined in the module a
print (l.sum(2, 6))