The join method restores a string where the elements of the arrangement have been joined by a separator. In your program, it takes a row list and joins then by separator - .
At that point by utilizing the f-string, the expression determined by {} will be supplanted with its value.
Assume that line (row) = ["1", "2", "3"] then the output will be Column names are 1-2-3.
Join the python online course fast, to learn python concepts in detail and get certified.