Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- people = []
- for _ in range(int(raw_input())):
- people.append(int(raw_input()))
- for n in people:
- print ((n*(n-1))/2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement