how to append from different types of text in python code example Example: append python it=[] for i in range(10): it.append(i)