Write a function that will provide the ascii value of a character


Topic: Write a function that will provide the ascii value of a character

Solution

def charToASCII(chr):
  return f'ASCII value of {chr} is: {ord(chr)}'
  



List all Python Programs