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.
Day 28: RegEx, Patterns, and Intro to Databases
Day 28: RegEx, Patterns, and Intro to Databases
Sort by
recency
|
643 Discussions
|
Please Login in order to post a comment
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)
python 3 solution:
import java.util.*;
public class Solution { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); // Number of rows scanner.nextLine(); // Consume newline
}