Design a Python program for converting a given string of characters into its corresponding ASCII code.
String: "Hello"
def getAscii(string):
    result = []
    for char in string:
        result.append(ord(char))
    return result

print(getAscii('Hello'))
# Output: [72, 101, 108, 108, 111]