Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #Double numberer
  2. end=100
  3. count=0
  4.  
  5. count=int(input("What number would you like to start?"))
  6. end=int(input("What number would you like to end?"))
  7. biglist = []
  8.  
  9. logfile=open("output.txt", mode="w", encoding="utf-8")
  10.  
  11. while count < end+1:
  12. logfile.write(str(count),"\n")
  13. logfile.write(str(count),"\n")
  14. print(count)
  15. count += 1
  16.  
  17.  
  18. print("done")
  19. logfile.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement