Python Forum

Full Version: list of strings to a single string
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I do not have Windows box to test a code for compatibility
def func1(los):
    for i in los:
        print(i,end='')
    return pass

list1=['a','b','c']
func1(list1)
Use Python code tags to preserve indentation
Pages: 1 2