摘要:
def signup(): with open("C:\\Users\\Administrator\\Desktop\\账号密码.txt","r") as f: line=f.read() line=eval(line) flag=False while True: global username1 ... 阅读全文
摘要:
for i in range(1,7): for j in range(1,7-i): print(" ",end="") for k in range(1,2*i-1+1): if k==1 or k==2*i-1 or i==6: print("*",end="") else: ... 阅读全文
摘要:
结果: 阅读全文
摘要:
i=0#索引下标 j=0#计数器 monky=[1,2,3,4,5,6,7,8] while i<len(monky): j+=1 if j==3: del monky[i]#删除报数为3的猴子 j=0 i-=1#def/remove方法中的逻辑原因 if i=... 阅读全文