ascii_to_int
def ascii_to_int(chaine)
Algorithm
Utils method : ascii to integer converter.
Parameters |
Type |
Description |
chaine |
str |
The string to convert |
- Returns
list : A list containing all integers values since ASCII.
Source Code
res = []
for letter in chaine:
res.append(ord(letter))
return res