def loop(): i = 0 a = 0.0 while i < 1000000000: a += 1.0 add(a, a) i += 1
def add(a, b, c): return a + b + c from file1 import add print(add(2, 4))
import file1 print(file1.A) ans = file1.add(2, 3) print(ans)
import file1 print(file1.add(4, 5))
import file1 val1 = int(input("Enter a:")) val2 = int(input("Enter b:")) operation = (input("Enter Operation:")) if __name__ == '__main__': if operation == "+": print(file1.add(val1, val2)) if operation == "-": print(file1.sub(val1, val2)) if operation == "*": print(file1.mul(val1, val2)) if operation == "/": print(file1.div(val1, val2))