string = "Don't panic"

# one version
i = 0
for ch in string:
    print ch, i,            # we prevent a newline using the trailing comma
    i += 1

print   # to finish the line
