We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc04c40 commit 8ef6dcfCopy full SHA for 8ef6dcf
how-to-indent-in-python/README.md
@@ -0,0 +1,3 @@
1
+# How to Properly Indent Python Code
2
+
3
+This folder contains sample code for the Real Python tutorial [How to Properly Indent Python Code](https://realpython.com/how-to-indent-in-python/).
how-to-indent-in-python/lucky_number.py
@@ -0,0 +1,8 @@
+lucky_number = 7
+for number in range(10):
+ if number == lucky_number:
4
+ print("Found the lucky number!")
5
+ else:
6
+ print(f"{number} is not my lucky number.")
7
8
+print("Done.")
0 commit comments