I don’t understand this hint.
def myjoin(*args): new_path = args for argument in args[1:]: new_path += argument return new_path print(myjoin(path_segment_1, path_segment_2, path_segment_3))
def myjoin(*args): return join(*args)
in that regard this hint is just confusing. “Does
myjoin() concatenate two strings?” led me to the += solution which is clearly not correct… Why is the hint leading you to a wrong solution?