Is there a way to update a value using another function, while in a for loop?

后端 未结 0 1606
旧时难觅i
旧时难觅i 2020-12-13 23:12
def next(term):
    
    totaal = []
    i = 0
    while i < len(term):
        c = 1
        while i + 1 < len(term) and term[i] == term[i+1]:
            i +         


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