I have a string, and I want to add unique non-ASCII characters to it. I need to do it in a loop because I may need to add more than one. The problem is that I don't know how to construct a proper Unicode string in the loop.
For example, I would like to add \u2713
, \u2714
, \u2715
etc to my string. I'm not sure how to do it.
s = 'ABCD'
for j in range(10):
s = s + u'\u2713'
#s = s + (u'\u2713' + j) # This doesn't work
print s