Answers for "how to print words from a string python"

4

how to get words from a string in python

sentence = "How are you feeling today"
sentence = sentence.split() # this returns list of words
# output = ["How", "are", "you", "feeling", "today"]
Posted by: Guest on January-30-2021
1

How printe word in python

for i in range(1,10): print i 
Posted by: Guest on June-25-2021

Code answers related to "how to print words from a string python"

Python Answers by Framework

Browse Popular Code Answers by Language