Computer Science, asked by shamithadasari2703, 1 month ago

Write a Python program that prompts the user to enter an upper or lower case letter and displays the corresponding ASCII value

Answers

Answered by prag12
0

Explanation:

import string

for i in string.ascii_uppercase:

print "ASCII value of",i,"is",ord(i)

for i in string.ascii_lowercase:

print "ASCII value of",i,"is",ord(i)

Similar questions