given x options (一般为3-7,或[a,b,c] to [a,b,c,d,e,f,g] ) 获取所有permutations of y length (通常也是3-7) x = [a,b,c] y = 7
[a,a,a,a,a,a,b][a,a,a,a,b,a,c] etc或 x=7 [a,b,c,d,e,f,g] y
May 9 18:10:41 gvfs-udisks2-volume-monitor: disc.c:352: error opening file BDMV/index.bdmvMay 9 18:107: new high-speed USB device number 12 using xhci_hcd
May 9 18:
我有一个疑问,在python中字符串是,Z = "00123+0567*29/03-7"甚至我后来也尝试过用re.split('[+]|[*]|-|/', Z)使用for i in res : i = i.lstrip("0"),但它将正确地拆分,但是要用与字符串"Z“中的操作数与Z = "123+567*29/3-7"相同的操作数连接。