Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #https://inf-ege.sdamgia.ru/problem?id=38943
- data = open('09 (1).csv').readlines()
- answ = 0
- for s in data:
- a = list(map(int, s.split(';')[:3]))
- a.sort()
- if a[0] ** 2 + a[1] ** 2 > a[2] ** 2:
- answ += 1
- print(answ)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement