'''Question: 
Write a Python program to convert a string in a list.
'''

# Python code: 

str1 = "The quick brown fox jumps over the lazy dog."

print(str1.split(' '))

str1 = "The-quick-brown-fox-jumps-over-the-lazy-dog."

print(str1.split('-'))



'''Output sample: 
['The', 'quick', 'brown', 'fox', 'jumps', 'over', 'the', 'lazy', 'dog.']                                      

['The', 'quick', 'brown', 'fox', 'jumps', 'over', 'the', 'lazy', 'dog.']                     

'''