Duplicate importing of functions - solved
import mycalc
print(mycalc.add(2, 3)) # 5
import mymath
print(mymath.add(2, 3)) # 6
import mycalc
print(mycalc.add(2, 3)) # 5
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
import mycalc
print(mycalc.add(2, 3)) # 5
import mymath
print(mymath.add(2, 3)) # 6
import mycalc
print(mycalc.add(2, 3)) # 5