Last active
September 23, 2020 06:28
-
-
Save TomerCohen95/557327a36afdd0a4e22b81b59bd56f74 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First Project (ModuleA) | |
class ModuleA: | |
def __init__(self, module_b: ModuleB, module_c: ModuleC): | |
print('im code from module A') | |
module_b.hello() | |
module_c.hello() | |
def hello(self): | |
print('hello from A') | |
# Second Project (ModuleB) | |
class ModuleB: | |
def __init__(self, module_c: ModuleC): | |
print('im code from module B') | |
module_c.hello() | |
def hello(self): | |
print('hello from B') | |
# Third Project (ModuleC) | |
class ModuleC: | |
def hello(self): | |
print('hello from C') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment