05 2020 档案

摘要:import re # 正则 from collections import defaultdict # defaultdict # 提取一元多项式(type: str)中的次数和系数并转化为字典 -> {次数:系数} # 例如:'ax^b' -> {b: a}, '-cx^d' -> {d: -c 阅读全文
posted @ 2020-05-24 11:46 Alan_LJP 阅读(1909) 评论(0) 推荐(0)