Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to use the slicing operator in Python?

Answer Posted / glibwaresoftsolutions

Slicing is a method for gaining access to particular segments of sequences, including strings, tuples, and lists. The syntax used for slicing is []. You can optionally omit this step. All sequence elements from the start (inclusive) to the end-1 start:end:step element are returned by the [start:end] function. It indicates that there is a negative i at the end of the start or end element. The number of components that need to be skipped or the jump is represented by the step.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by python modules?

929


How do I copy an object in python?

1093


How are phon blocks defined?

933


What is the length of your largest python code? Can you please describe the project?

1064


How do I watch a file for changes using python?

997


Should I use single or double quotes in python?

912


How long will it take to learn python?

977


What does nan mean in python?

885


How can I learn python?

838


What is flask used for in python?

1025


How can I merge two python dictionaries in a single expression?

885


What are python’s dictionaries?

963


What is the incorrect declaration of a set?

1036


Is python or r more useful?

868


How many kinds of sequences are supported by python? What are they?

1014