Welcome to the Python screen.
The question is on your right: Top IPs from Server Logs. Read through the requirements first.
Run and submit your code as often as you need. You also have five interviewer messages this session - want to talk through your approach, or are you ready to start coding?
Given a list of log file contents, where each file is represented as an array of strings and each string is one web server log line, return the top 10 IP addresses by request count. Treat the IP address as the first whitespace-separated token on each valid line. If multiple IPs have the same count, return them in ascending lexicographic order.
def top_ten_ips(log_files):