Python Slice Object
A slice object is used to specify how to slice a sequence. You can specify where to start the slicing, and where to end. You can also specify the step, which allows you to e.g. slice only every other item. Here's an example of the usage:x = ("hi", "hello", "greetings", "hola")y = slice(3) print(x[y])   >> ("hi", "hello", "greetings")
0 Reacties 0 aandelen 11K Views 0 voorbeeld
Sponsor

Dating Gpykin

Find real love on Dating Gpykin - connect free through voice and video!


BigMoney.VIP Powered by Hosting Pokrov