05 2025 档案

摘要:8.1 from random import random def printInatro(): print("这个程序模拟两个选手A何B的某种竞技比赛") print("程序运行需要A和B的能力值(用0到1之间的小数表示)") def getInputs(): a = eval(input("请输 阅读全文
posted @ 2025-05-25 19:02 四季歌镜 阅读(36) 评论(0) 推荐(0)
摘要:7.1 import tokenize import keyword from io import BytesIO def convert_python_file(source_path, target_path): with open(source_path, 'rb') as file: tok 阅读全文
posted @ 2025-05-18 17:58 四季歌镜 阅读(34) 评论(0) 推荐(0)