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
Explain relational operators in python?
How do you calculate percentiles with python/ numpy?
What is numpy array in python?
Explain what is decorator?
Is using eval in python a bad practice?
What are the types of basic functions in python?
What is speech_recognition? Does this ship with python by default?
What is difference between panda series and dictionary in python?
How would you work with numbers other than those in the decimal number system?
Is nan a float python?
How to access sessions in flask?
Are there arrays in python?
Does python interact with database?
Explain the use of try: except raise, and finally?
What is a pil in python?