ASCII
In Python, the
chr()
function can be used to convert an ASCII ordinal number to a character (theord()
function does the opposite).
Solution
list = [99, 114, 121, 112, 116, 111, 123, 65, 83, 67, 73, 73, 95, 112, 114, 49, 110, 116, 52, 98, 108, 51, 125]
flag = ""
for i in list:
ascii_char = chr(i)
flag += ascii_char
print(f"{flag}")
Last updated
Was this helpful?