Python Challenge (level 21)

xiaoxiao2026-09-15  18

URI: — Username: butter; password: fly 说明: -- 解题方法: import zlib, bz2h = open("package.pack") # Hides within the ZIP file we got at thedata = h.read() # end of level 20.h.close()output = []while True: if data.startswith("BZh"): data = bz2.decompress(data) output.append("#") elif data.startswith("x\x9c"): data = zlib.decompress(data) output.append(" ") elif data.endswith("\x9cx"): data = data[::-1] output.append("\n") else: breakprint "".join(output) 过关答案: copper 相关资源:pythonchallenge level2官方方法集
转载请注明原文地址: https://www.6miu.com/read-5052712.html

最新回复(0)