Why do we use the join () function? Give its syntax.
Answer:
The join( ) method is used to join various path components in the os.path module.
Syntax:
os.path.join ([dir1, dir2,…])
Learn in your speed, with individual attention - Teachoo Maths 1-on-1 Class