浏览代码

Minor modification

master
Noëlle Anthony 6 年前
父节点
当前提交
7266457074
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      01b.py

+ 1
- 3
01b.py 查看文件

elif item[0] == "-": elif item[0] == "-":
freq -= int(item[1:]) freq -= int(item[1:])
if freq in freqlist: if freq in freqlist:
return freq
return "Found after {} cycles: {}".format(cycles,freq)
freqlist.append(freq) freqlist.append(freq)
if cycles == 1000000:
return "I haven't found a duplicate after a million cycles."


if __name__ == "__main__": if __name__ == "__main__":
args = input("Paste the modulations here: ") args = input("Paste the modulations here: ")

正在加载...
取消
保存