Advertisement
Guest User

Untitled

a guest
Feb 17th, 2020
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. x=("a", "b", "c", "d", "e", "f", "g", "h", "j", "o", "s", "p", "z")
  2. y=slice(0,13,2)
  3. print(x[y])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement