def foo(): print('foo first') foo() def foo(): print('foo second') foo()