Guest User

Untitled

a guest
May 15th, 2019
125
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. with open("myfile.txt") as search:
  2. for line in search:
  3. line = line.rstrip() # remove '\n' at end of line
  4. if largestInt == line:
  5. with open("index.txt", "a") as myfile:
  6. myfile.write("text appended")
  7.  
  8. TabError: inconsistent use of tabs and spaces in indentation
RAW Paste Data