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
- Collections
- Company Logo
- Discussions
Company Logo
Company Logo
Sort by
recency
|
1284 Discussions
|
Please Login in order to post a comment
Extra challenge: do not use Counter
if name == 'main': s = input() s_counter = Counter(sorted(s)) top3 = s_counter.most_common(3) for i, (item, value) in enumerate(top3): print(item, value)
It's such a smart way to tie the logo directly to the identity of the company. Finding the top three most common characters in the company name sounds like a fun mix of design and data—simple, but super effective! Mahadevbook777