daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Mar 25th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x="информатика"
  2. print(x[2:7])
  3. print(x[7:10])
  4. x='муха'
  5. print(x.replace('м', 'с').replace('у', 'л').replace('х', 'о').replace('а', 'н'))
  6. x='вебинариум'
  7. print(x[-2:])
  8. print(x[:2]+x[-4:-6:-1])
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top