How do I condense a list into string that I can use in my code later?
For example:
result = []
bin = []
j = 0
while j<5:
bin.append(j)
j=j+1
#Pseudo code:
a = ''.join(map(int, bin)
result.append(a)
Basically, I want it to do this:
bin = [0,1,2,3,4]
result = [01234]
so I can use 'result' later on in my code.
Still pretty new at this, but I appreciate your help.