Skip to main content
added 107 characters in body
Source Link
Banana
  • 2.6k
  • 1
  • 12
  • 30
a = [116, 101, 115, 116, 115, 116, 114, 105, 110, 103]

# empty string
result = ""
# loops trough the list
for x in a:
    # the converted character is added to the string
    result + = chr(x)
a = [116, 101, 115, 116, 115, 116, 114, 105, 110, 103]

result = ""
for x in a:
    result + = chr(x)
a = [116, 101, 115, 116, 115, 116, 114, 105, 110, 103]

# empty string
result = ""
# loops trough the list
for x in a:
    # the converted character is added to the string
    result + = chr(x)
Source Link
Banana
  • 2.6k
  • 1
  • 12
  • 30

a = [116, 101, 115, 116, 115, 116, 114, 105, 110, 103]

result = ""
for x in a:
    result + = chr(x)