Advertisement
Fhernd

subcadenas.py

Jan 13th, 2018
632
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. escritor = 'Fyodor Dostoevsky'
  2. print(escritor[0:6])
  3. print(escritor[:6])
  4. print(escritor[7:])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement