摘要:
# METHOD11 from difflib import SequenceMatcher 2 def similarity(a, b): 3 return SequenceMatcher(None, a, b).ratio() 4 5 print(similarity('CharlesCC', 阅读全文
摘要:
# 打印10个abcp="abc" print(p*10)# 通过参数传递 print('{greet} from {language}'.format(greet='hello', language='Python')) # 通过位置传参 print('{0} from {1}'.format(' 阅读全文