<prompt> Andika kazi ambayo anarudi codes ya wahusika wa kamba fulani.string str Hello World!;  <response>: Sure, here is the function that you can use to return the codes of characters of a given string:pythondef get_char_codesstr: codes for char in str: codes.appendordchar return codes Lets test our function:str Hello World!printget_char_codesstrThis function will return a list of decimal values that represent the Unicode code point of each character in the given str input string. For example, for your provided input Hello World!, it will return the output as 72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33. 