pdxtabs

tmp2_tab.py

May 5th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.33 KB | None | 0 0
  1. $ cat > tmp_tab.py
  2. #!/usr/bin/python3
  3.  
  4. if 1 == 1:
  5.     print("A")
  6.     print("B")
  7.     print("C")
  8.  
  9. if 2 == 2:
  10.     print("X")
  11.     print("Y")
  12.     print("Z")
  13. $ chmod a+x tmp_tab.py
  14. $ ./tmp_tab.py
  15.   File "./tmp_tab.py", line 10
  16.     print("Y")
  17.              ^
  18. IndentationError: unindent does not match any outer indentation level
Advertisement
Add Comment
Please, Sign In to add comment