Faster way to get list of numbers

后端 未结 0 1233
深忆病人
深忆病人 2021-02-07 07:27

So I have a piece of code:

def test(num):
    count = 1
    l = []
    while len(l) < 16:
        x = num % count
        if x >= 16 or x in l:
                     


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