Advertisement
AlexErin1308

Task #1

Mar 7th, 2024
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. position = [
  2. ['2019-05-01', '6'],
  3. ['2019-05-02', '5'],
  4. ['2019-05-03', '5'],
  5. ['2019-05-04', '4'],
  6. ['2019-05-05', '5'],
  7. ['2019-05-06', '5'],
  8. ['2019-05-07', '4'],
  9. ['2019-05-08', '4'],
  10. ['2019-05-09', '3'],
  11. ['2019-05-10', '3'],
  12. ]
  13. count_lines = 0
  14.  
  15. for row in position:
  16. count_lines +=1 #цикл, подсчитывающий количество строк в данных
  17. print(count_lines)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement