How to print an array (a list) of strings in Python

1 Answer

0 votes
words = ['python', 'c++', 'c', 'c#', 'java']

for word in words:
    print(word)

'''
run:

python
c++
c
c#
java

'''

 



answered Mar 22, 2017 by avibootz
...