Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x="информатика"
- print(x[2:7])
- print(x[7:10])
- x='муха'
- print(x.replace('м', 'с').replace('у', 'л').replace('х', 'о').replace('а', 'н'))
- x='вебинариум'
- print(x[-2:])
- print(x[:2]+x[-4:-6:-1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement