Start to test with a more normal scenario,where you import from a file.
Not like confusing import in both files.
Not like confusing import in both files.
# a2.py bob = 4 def foo(): return 42
# a1.py from a2 import bob, foo print(f'bob vaule {bob} foo vaule {foo}')
Output:bob vaule 4 foo vaule <function foo at 0x03F58858>
So using function would be.from a2 import bob, foo print(f'vaule bob + foo() is: {bob + foo()}')
Output:vaule bob + foo() is: 46