Skip to content

Commit b797df1

Browse files
committed
Add program showing an example for "Best practice formatting for python"
1 parent b9192b4 commit b797df1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

scope.py

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
def main():
2+
x = int(input("Input"))
3+
if x == 5:
4+
y = 3
5+
print(y)
6+
y += 1
7+
8+
9+
if __name__ == "__main__":
10+
main()

0 commit comments

Comments
 (0)