save every string char and then print whole of them in python
main.py
# Initialize an empty list to store all characterscharacters = []
# Input stringinput_string = "hello world"# Save every character in the listfor char in input_string:
characters.append(char)
# Print all charactersprint(''.join(characters))