If I do a for loop in python of this list,
file = open("foo.txt",'w')
list = ["hi", "how", "are", "you"]
for element in list:
it will write a file like this
I.e., put a new line after each element...
What if I don't want a new line after each element except for the last element in the list? is that possible?
I.e., I want:
hi how are you \n....