Как вывести значения DEC юникода и суммировать их?
ПИТОН
def calculate_cipher_step(self) -> int:
“”“
Calculate cipher step.
Cipher key comes from constructor.
Formula is sum of UNICODE value of each letter.
Example: ”Hi" -> 72 + 105 -> 177
:return: Cipher step as integer