Question: write the python code to perform the following string slicing tasks: 1 print letter s from the string cats hate water. 2 . print interger

write the python code to perform the following string slicing tasks: 1 print letter s from the string cats hate water. 2. print interger 9 from the list [8,9,10]3. print the word math from sentence he doesnt teach math. 4. Print 1,2,3 from the statement testing 1,2,3.5. Print a Man, a plan, a canal from the sentence A man, A plan, A Canal.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!