Instead of printing you should return values I guess: def mycounter(): test=[] for x in range(0, 10): time.sleep(1) test.append(x) return ...
確定! 回上一頁