python返回值return和while循环_从while循环返回“None”
我有以下功能:def AdjustTime(f):if len(f) == 1:return '0' + f + '00'elif len(f) == 2:return f + '00'elif len(f) == 3:return '0' + felif len(f) == 4:return felse:while True:if len(f) > 0 and len(f) <= 4...