Run
# Values x = ["Apple", "Banana", "Cherry"] # Take a variable with empty string to store result result = "" # While loop to append values to a string i = 0 while i < len(x): result += str(x[i]) i += 1 print(result)
Output