Tesla interview question

Use python to extract important stats from file