Question: Create a function called stringPractice ( ) that accepts a string. Your function should determine the 4 th and 5 th characters of that string
Create a function called stringPractice that accepts a string. Your function should determine the th and th characters of that string and return it For example, stringPracticeblackberries are great' would return the string ck You may assume the user will always pass a string that has at least characters in it You must use the slicing operator : to obtain the substring.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
