Consider a list I want to parse using a for :
for
friends = [\"Joe\", \"Zoe\", \"Brad\", \"Angelina\", \"Zuki\", \"Thandi\", \"Paris\"] for i in fri
Try this at the end of the loop:
the_variable = the_variable + i
However, if you are to do this, you should add a space to the end of every item in the dictionary, otherwise it will output:
JoeZoeBradAngelinaZukiThandiParis