Introduction

In this blog, I will explain about the Sliced Sequence in Python. I will show the output in the Run module.
Software Requirement
Python3.5.2.
Simple Programming
  1. print("Welcome To C#Corner........:")
  2. print('Slicing Sequences :')
  3. tuples=("The","Python","Blog","By","SR","Karthiga","In","C#Corner")
  4. sliced_tuple=tuples[4:6]
  5. print("Tuple Values :")
  6. print(sliced_tuple)
  7. lists=["The","Python","Blog","By","SR","Karthiga","In","C#corner"]
  8. sliced_list=lists[6:8]
  9. print("List values :")
  10. print(sliced_list)
  11. strings="SR Karthiga In C#corner"
  12. sliced_string=strings[0:20]
  13. print("string values :")
  14. print(sliced_string)
Explanation
I will clearly explain the Slicing Sequence in Python. This shows the tuple value, list value, and string value. It will show in the Run Window.
Output
Output