Your question is Parse User Action Logs. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Write a function that parses user action logs.
Implement parse_user_action_logs(logs). Each element of logs is a valid comma-separated string in the format user_id,action,timestamp, where timestamp is an integer. Return a list of dictionaries containing user_id, action, and integer timestamp, in the same order as the input. User IDs and actions do not contain commas. An empty input should return an empty list.
def parse_user_action_logs(logs):