Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """Proving Jeremy wrong, indentation experimentation"""
- def four():
- # indented with 4 spaces
- return 4
- def three():
- # indented with 3 spaces
- return 3
- def two():
- # indented with 2 spaces
- return 2
- def one():
- # indented with 1 space
- return 1
- def tab():
- # indented with 1 tab
- return "tab"
- def mixed_spaces():
- # first level is indented with 4
- if 1 < 2:
- # second level is indented with 3
- if 3 < 4:
- # third level is intended with 2
- if 4 < 5:
- # fourth level is indented with 1
- print("HA TOLD YOU")
- mixed_spaces()
Add Comment
Please, Sign In to add comment