Python Forum
Put each word in a quote in a new line in printout
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Put each word in a quote in a new line in printout
#4
Sorry, I'm not with it yet after my nap:
quote = "they stumble who run fast"
for x in quote.split():
    print(x)
Reply


Messages In This Thread
RE: Put each word in a quote in a new line in printout - by Larz60+ - Feb-13-2018, 11:35 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020