ghostss 最近的时间轴更新
ghostss

ghostss

V2EX 第 459426 号会员,加入于 2019-12-16 09:36:52 +08:00
ghostss 最近回复了
36 天前
回复了 kehuduanbuxing 创建的主题 程序员 一人来一道拿手面试题
递归:
def transform_response(response):
def process(data):
if isinstance(data, dict):
return {k: process(v) for k, v in data.items()}
elif isinstance(data, list):
return [process(item) for item in data]
elif isinstance(data, int) and data == 100:
return 200
else:
return data
return process(response)
2019-12-26 09:06:14 +08:00
回复了 pence2019 创建的主题 上海 上海哪里有修行李拖箱的?
公司楼下有。。宣化路,不知道你离这远不远
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2334 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 14:00 · PVG 22:00 · LAX 07:00 · JFK 10:00
Developed with CodeLauncher
♥ Do have faith in what you're doing.