SHARE
TWEET

Untitled

a guest Feb 27th, 2020 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. nowyNumer='100'
  2. print(nowyNumer)
  3.  
  4. print(int(nowyNumer)+1)
  5.  
  6. z=nowyNumer+str(1)
  7. print(z)
  8.  
  9. print(type(nowyNumer))
  10.  
  11.  
  12. article= '''
  13. asdasd
  14. asdfsadf
  15. adfssdfsd
  16. fsdfsdf
  17. '''
  18. print(article.upper())
  19. print(article.lower().replace('monty','flying'))
  20. print(article.split(' '))
  21. print('word python appears', article.lower().count('python'),'times')
  22.  
  23. print(article.swapcase())
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