Program - function to print the ascii value of letter


Topic: Program - function to print the ascii value of letter

Solution

def show_ascii():
    import string
    letter = string.ascii_letters
    for i in letter:
        print(i+":"+str(ord(i)))



List all Python Programs