from join import *

myList = list2(["a", "b", "c"])
print('myList:')
print(myList.join()) # join with a space
print(myList.join('##')) # join with '##'
print(myList.join(42)) # join with '42'
print(myList.join('')) # join with the empty string
print()
myList2 = list2([1, 2.0, {3}])
print('myList2:')
print(myList2.join()) # join with a space
print(myList2.join('##')) # join with '##'
print(myList2.join(42)) # join with '42'
print(myList2.join('')) # join with the empty string
print()
myList3 = list2([dict()])
print('myList3:')
print(myList3.join()) # join with a space
print(myList3.join('##')) # join with '##'
print(myList3.join(42)) # join with '42'
print(myList3.join('')) # join with the empty string
print()
myList4 = list2("xyz")
print('myList4:')
print(myList4.join()) # join with a space
print(myList4.join('##')) # join with '##'
print(myList4.join(42)) # join with '42'
print(myList4.join('')) # join with the empty string
print()
myList5 = list2()
print('myList5:')
print(myList5.join()) # join with a space
print(myList5.join('##')) # join with '##'
print(myList5.join(42)) # join with '42'
print(myList5.join('')) # join with the empty string
print()
input("Press Enter to end this program")