Sabbir-bin

string

Jun 17th, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. #pyhton srings
  2. """python string"""# thi is comment sesion part
  3. x="HELLOW "
  4. y='hellow'
  5. z="sabbir , ahmed"
  6.  
  7. print (x[0:6])#array size
  8. print(x.islower())#if the string is really lower then it  will be print true or not.
  9. print(y.islower())#same case
  10.  
  11. print(y.strip())#fulfil dispaly
  12.  
  13. print(x.replace("H", "J"))
  14. print(z.split(","))
  15.  
  16. print(x *10)
Advertisement
Add Comment
Please, Sign In to add comment