Remove all keys that have values of N/A, -, or empty strings

前端 未结 0 2019
攒了一身酷
攒了一身酷 2021-02-05 17:55
import json

def clean_data():
  r = requests.get(\'https://coderbyte.com/api/challenges/json/json-cleaning\')
  return r.json()

print(clean_data())

Ex

相关标签:
回答
  • 消灭零回复
提交回复
热议问题