How can I generate all the possible solutions with a given form? (Python)

后端 未结 0 1110
情深已故
情深已故 2020-12-17 10:25

This is part of the code I\'m working on: (Using Python)

import random
pairs = [         
(0, 1),
(1, 2),
(2, 3),
(3, 0),    # I want to treat 0,1,2,3 as some         


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