Question: Print each word in the following string using slicing so that each words appears on its own line. Don't use .split s = I

Print each word in the following string using slicing so that each words appears on its own line. Don't use

Print each word in the following string using slicing so that each words appears on its own line. Don't use .split s = "I am a Jedi like my father before me" print(s[0:1]) #1 print(s[2:4]) # am ..... and so on..

Step by Step Solution

3.39 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Solution To print each word in the string s using slicing ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!