from xpinyin import Pinyin def main(): name_1 = input("name: ") return Pinyin().get_pinyin(name_1).replace("-","") if __name__ == "__main__": print(main())
from xpinyin import Pinyin def main(): name_1 = input("name: ") return Pinyin().get_pinyin(name_1).replace("-","") if __name__ == "__main__": print(main())