# When declaring your list var, make sure its a string you're making. array = [] # -> ['a', 'b'] string = "" # -> "ab" # Otherwise, be sure to use '+' to concatenate not commas. print ("a", "b") # -> "a b" print ("a" + "b") # -> "ab"