需要requests的网页
https://hugovk.github.io/top-pypi-packages/top-pypi-packages-30-days.min.json
raw_data=requests.get("https://hugovk.github.io/top-pypi-packages/top-pypi-packages-30-days.min.json%22)
- Can you count the size/length of raw_data['rows'] . 将 raw_data['rows] 定义为新变量叫做 lib_data .
2 打印 data type of each element of lib_data . - 打印 'download count' of each element in lib_data.
4.Traverse lib_data and create 字典数据 with keys library names ('project' in lib_data[i] dictionary) and values 为 'download count'.
打印 data['requests'] .