nightlydreamer

Задание 2

Oct 4th, 2019
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.07 KB | None | 0 0
  1. a = open("f.txt", "r")
  2. s = a.read()
  3. print(list(s).count("\n") + 1)
Add Comment
Please, Sign In to add comment