Write a program that displays an ASCII character table from ! to ~. Display the ASCII value of a character in decimal and hexadecimal. Display five characters per line in python.

Code

for i in enumerate(range(33, 127)):
print(chr(i[1]), i[1], hex(i[1]), end=" ")
if i[0] % 5 == 4:
print()

Output