We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Sets
- The Captain's Room
- Discussions
The Captain's Room
The Captain's Room
Sort by
recency
|
1433 Discussions
|
Please Login in order to post a comment
Pressure washing is a powerful cleaning method that uses high-pressure water to remove dirt, mold, mildew, and other contaminants from surfaces like driveways, decks, and siding, restoring them to their original condition.
family_size = int(input())
list1 = list(map(int, input().split()))
set1 = set(list1)
result = (sum(set1)*family_size - sum(list1)) / (family_size - 1)
print(int(result))
python3
A bit of a hack, maybe...