demo_ref_string_join2.py:
myDict = {"name": "John", "country": "Norway"} mySeparator = "TEST" x = mySeparator.join(myDict) print(x)
➜ begtut>python demo_string_join2.py
nameTESTcountry