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

Do sheeps sleep?

769


Can I use notepad ++ for python?

723


How dir() function is used in python?

998


How python supports encapsulation with respect to functions?

1066


If you installed a module with pip but it doesn’t import in your idle, what could it possibly be?

893


Which is better java or python?

915


How does pop function works in set data types?

775


How can you create empty numpy array in python?

893


What are the types of python?

837


How would you display a file’s contents in reversed order?

809


Is anaconda good for python?

822


What is a static relationship?

824


Can __ init __ return value?

794


Is there a switch or case statements in python?if not what is the reason for the same?

757


What are middlewares in python?

751