Thursday, 19 September 2013

How to print a list without it showing brackets and "" in the output ? Python 3.3.2

How to print a list without it showing brackets and "" in the output ?
Python 3.3.2

So say I have a list named myList and it looks something like this :
myList = ["a", "b", "c"]
How would you print it to the screen so it prints :
abc (yes, no space inbetween)
If I use print (myList) It prints the following:
['a', 'b', 'c']
Help would be much appreciated.

No comments:

Post a Comment