String Slicing Task

Programming Questions

  1. Write a program to create a string made of the first middle  and last  character
  2. Create a signal substring  complete string and multiple strings
  3. How to access multiple strings
  4. Write a program to create a string and access it by negative indexing
  5. Write a program to create a string and access the last 3 characters using negative indexing
  6. Write a program to create a string and access the middle 3 characters using positive indexing
  7. Write a program to create a string and  access the first, third, and fifth characters
  8. Write a program to create a string and  access the last 4 characters using positive indexing
  9. Write a program to create a string and reverse  to the string using the slice function

Theory Questions

  1. What is a Slicing 
  2. What is an indexing
  3. What is a positive indexing 
  4. What is a negative indexing
  5. What is the slice function
  6. How to use the slicing function and Example