Split a dict to lists

PHOTO EMBED

Tue Jul 21 2020 20:47:49 GMT+0000 (Coordinated Universal Time)

Saved by @phi #python

x=[]
y=[]
for key, value in genres.items():
    x.append(key)
    y.append(value)
content_copyCOPY

http://localhost:8888/notebooks/Desktop/for Jupyter/HW3/Exercise 3.ipynb