In Python, is there a built-in function to calculate the & # 39; sum & # 39; Unicode of a chain?
The function would take a string of any length, essentially execute ord () on each character, then return the sum of all ord () calls.
So something like
unicode_sum (& # 39; abc & # 39;) == unicode_sum (& # 39; cba & # 39;) would be
I realize that this could be easily coded, but a built-in function would be nice.