Who is more educated, Zhu Yuanzhang or Yuan Shundi?

Although Zhu Yuanzhang was born in poverty and had no education in Confucius and Mencius' poems, calligraphy and music, he was not just a careless hero. During his military career, he also wrote poems, and the collection of imperial history was handed down from generation to generation, including more than 100 poems by Zhu Yuanzhang. Its rhythmic artistic conception is naturally not as good as that of Li Bai and Su Shi, but its lofty aspirations also have considerable artistic shock, so I think it is Zhu Yuanzhang.