You are viewing a single comment's thread. Return to all comments →
in python code: . . . . . . . . if name == 'main': N = int(input().strip()) gmail = []
for N_itr in range(N): first_multiple_input = input().rstrip().split()
firstName = first_multiple_input[0] emailID = first_multiple_input[1] if '@gmail.com' in emailID: gmail.append(firstName)
gmail.sort()
for name in gmail: print(name)
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 →
in python code: . . . . . . . . if name == 'main': N = int(input().strip()) gmail = []
for N_itr in range(N): first_multiple_input = input().rstrip().split()
gmail.sort()
for name in gmail: print(name)