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

What are python modules?

778


How to tic tac toe computer move?

860


What is numpy logspace?

873


What does this mean: *args, **kwargs?

810


Is python is better than java?

813


How do you use enums in Python?

855


How to declare the variables function in python?

985


Is python strongly typed or weakly typed language?

946


Write a regular expression that will accept an email id. Use the re module.

829


What happens if we do not handle an error in the except block?

758


In which field python is used?

795


How do I run python?

771


Is python too slow?

883


What is a repl in python?

827


Explain me what is the statement that can be used in python if the program requires no action but requires it syntactically?

833