Question: Questions Not yet graded Define a function ASCII ( x ) where the parameter x is a string, for example: ASCII ( cat
Questions
Not yet graded
Define a function ASCII where the parameter is a string, for example: ASCIIcat Your function then returns four items:
Length of string
List of ASCII codes for that string
Average of ASCII codes
First letter in the string should input their string as the argument of your function.
Having defined your function ASCII test it with the command printASCIIcat This command prints the return output to the screen:
'c'So
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
