You are viewing a single comment's thread. Return to all comments →
You can even do it using one liner:
print('\n'.join(n for n,e in sorted([input().split() for _ in range(int(input()))]) if e.endswith('@gmail.com')))
Seems like cookies are disabled on this browser, please enable them to open this website
Day 28: RegEx, Patterns, and Intro to Databases
You are viewing a single comment's thread. Return to all comments →
You can even do it using one liner: