AT&T Interview Question

Create R or Python code to pull data from table