Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. nowyNumer='1000'
  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. Document "cv.doc" byl sobie drukowany na drukarce: XEROX
  14. '''
  15. print(article.upper())
  16. print(article.lower().replace('monty','flying'))
  17. print(article.split(' '))
  18. print('word python appears', article.lower().count('python'),'times')
  19.  
  20. print(article.swapcase())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement