Colab

x = "the quick brown fox jumped over the lazy dog"
words = x.split()
print(words)

['the', 'quick', 'brown', 'fox', 'jumped', 'over', 'the', 'lazy', 'dog']
words[3] = words[3].upper()
print(words)

['the', 'quick', 'brown', 'FOX', 'jumped', 'over', 'the', 'lazy', 'dog']
" ".join(words)

'the quick brown FOX jumped over the lazy dog'
csv = """
name, family, age, country
moshe, cohen, 20, israel
david, lev, 30, france
"""

for line in csv.splitlines():
    fields = line.split(",")
    print(fields)
    

['']
['name', ' family', ' age', ' country']
['moshe', ' cohen', ' 20', ' israel']
['david', ' lev', ' 30', ' france']
fields
print(", ".join(fields)) # CSV line
print("\t".join(fields)) # TSV line

david,  lev,  30,  france
david	 lev	 30	 france