seabottom1978's recent timeline updates
seabottom1978

seabottom1978

V2EX member #266724, joined on 2017-11-13 15:26:28 +08:00
seabottom1978's recent replies
result = {}
for i in a:
if i[:2] not in result:
result[i[:2]] = {i : a[i]}
else:
result[i[:2]][i] = a[i]
May 16, 2018
Replied to a topic by seabottom1978 Linux openSUSE Leap 42.3 的问题
还有 “+连接到当前活动” 是啥意思呀?
是的,太谢谢了
那么必须用 2 层循环?[(a,b) for a in range(1,n+1) for b in range(1,n+1) if sum(range(1,n+1))-(a+b)==a*b]
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1049 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 22:58 · PVG 06:58 · LAX 15:58 · JFK 18:58
♥ Do have faith in what you're doing.