Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help to find a command
#11
Thank you all for this valuable help!
I have learnt a lot and finally found the solution for my problem. Many others will come and let solve it one by one.

It worked for me as below.

tension = 0
count =0
while count<15:
    for link in chain:
        if tension > link[0] and len(link)==2:
            link.append(1)
            count =0
            
    tension += 1
    count +=1
Quote

Top Page

Forum Jump:


Users browsing this thread: 1 Guest(s)