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 / nashiinformaticssolutions

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

When python was founded?

829


What is super () in python?

892


What is sys stdout flush ()?

878


which of the following is an invalid statement?

930


How to copy an object in python?

1019


Is nodejs faster than python?

815


How can I find the methods or attributes of an object?

912


What are the two main types of functions in python?

1025


Calling an external command in python?

857


Which ide should I use for python?

873


What is a namedtuple?

919


What is the shortest method to open a text file and display its content?

876


Can we use else with for loop in python?

878


State some programming language features of python?

908


How do you clean pyc files?

820