You are viewing a single comment's thread. Return to all comments →
import re is not necessary at all :)
names = [] N = int(input().strip()) for a0 in range(N): firstName, emailID = input().strip().split(' ') if '@gmail.com' in emailID: names.append(firstName) print(*sorted(names), sep='\n')
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 →
import re is not necessary at all :)