Question: Create a function that accepts a list and returns a string. The list is a list of ASCII character values so the string will make

Create a function that accepts a list and returns a string. The list is a list of ASCII character values so the string will make sense. This function will convert the list to a string by using a 'for' loop to iterate through the list. Print the string in your main function. Create a second function that accepts a list and returns a string. The list is a list of ASCH character values so the string will make sense. This function will convert the list to a string by using list comprehension. Print the string in your main function. Make sure the output of both the above functions is a string, not a list. Create a third list that is the concatenation of list 1 with list2. Pass the new list to a third function that will return a dictionary of ASCII_Value: Character (example: 65: "A"). In your main function, print the sorted dictionary. This may require you explore how to do this. Please remember you need to correctly cite your work if you use code from any other site. Example output 117 u 118 v 119 w 121 Y Pass the third list to a new function that will return a dictionary of Character: count (example: "A": 3). In your main function, print the sorted dictionary. This may require you explore how to do this. Please remember you need to correctly cite your work if you use code from any other site. Example Output 17 ! 2 - 1 C1 Data you need use is on the next page Using a loop: [67, 111, 110, 103, 114.97. 116, 115, 32, 121, 111, 117, 32, 104, 97, 118, 101, 32, 117, 110, 112, 97, 99, 107, 101, 100, 32, 116, 104, 101, 32, 109, 101, 115, 115, 97, 103, 101, 32, 117, 115, 105, 110, 103, 32, 97, 32, 108, 111, 111, 112,33] Using list comprehension [84, 104, 105, 115, 32, 105, 115, 32, 108, 105, 115, 116, 32.99, 111, 109, 112, 114, 101, 104, 101, 110, 115, 105, 111, 110, 32, 45, 32, 119, 101, 108, 108, 32, 100, 111, 110, 101, 32, 102, 111, 114, 32, 115, 111, 108, 118, 105, 110, 103, 32, 105, 116, 33]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
