Computer Science, asked by williambarnes, 1 year ago

Please help me out! this is 4.3 and my class is at 4.6! python edhesive is what we use, and i am purely stuck! help???
Write a program that uses a loop to print the uppercase alphabet with the correct ASCII number next to each letter. (e.g. one line might be A 65).

Answers

Answered by PSN03
0

use the function ord and chr

for ex

ord('A')

65

chr(65)

A

Similar questions