📅  最后修改于: 2022-03-11 14:47:05.148000             🧑  作者: Mango
import arabic_reshaper
text_to_be_reshaped = 'اÙÙغة اÙعربÙØ© رائعة'
reshaped_text = arabic_reshaper.reshape(text_to_be_reshaped)
rev_text = reshaped_text[::-1] # slice backwards
print(rev_text)