import zhconv# 简体转繁体word = "往后余生,策马奔腾,步步高升,一览天下。"# 输出print(zhconv.convert(word, 'zh-tw'))# 繁体转简体word = "往後餘生,策馬奔騰,步步高升,一覽天下。"# 输出print(zhconv.convert(word, 'zh-cn'))
300字范文,内容丰富有趣,生活中的好帮手!
时间:2019-11-21 13:22:52
import zhconv# 简体转繁体word = "往后余生,策马奔腾,步步高升,一览天下。"# 输出print(zhconv.convert(word, 'zh-tw'))# 繁体转简体word = "往後餘生,策馬奔騰,步步高升,一覽天下。"# 输出print(zhconv.convert(word, 'zh-cn'))