Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  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())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement