I\'m new here and also new to Python.
I wonder what does f in print(f\'Column names are {\"-\".join(row)}\') do
I tried deleting it and then \'Column n
join method returns a string in which the elements of sequence have been joined by a separator. In your code, it takes row list and join then by separator -.
Then by using f-string, expression specified by {} will be replaced with it's value.
Suppose that row = ["1", "2", "3"] then output will be Column names are 1-2-3.