Last active
June 21, 2018 21:23
-
-
Save nhojpatrick/2fb4c7753f0fe884b0e6022b6281b4c8 to your computer and use it in GitHub Desktop.
Python indentation demo
This file contains 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
#!/usr/bin/env python | |
def indent(): | |
logic1 = True | |
logic2 = True | |
if logic1 : | |
print("A") | |
if not logic2 : | |
print("B") | |
else : | |
print("C") | |
indent() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment