Created
January 30, 2023 22:58
-
-
Save ilkermanap/44981d7cdc9709b0616df933447d7175 to your computer and use it in GitHub Desktop.
scope icin sacma ornek
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
from modul1 import * | |
print("modul1 import edildi") | |
print("a =",a, " b = ", b, " maas = ", maas) | |
from modul2 import * | |
print("modul2 import edildi") | |
print("a =",a, " b = ", b, " maas = ", maas) | |
a=120 | |
b=4234 | |
maas = a*b | |
print("main icindeyiz") | |
print("a =",a, " b = ", b, " maas = ", maas) |
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
a=10 | |
b=20 | |
maas = a*b |
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
a=100 | |
b=200 | |
maas = a*b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment