Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. text = "Mendeley Data Repository is free-to-use and open access. It enables you to deposit any research data (including raw and processed data, video, code, software, algorithms, protocols, and methods) associated with your research manuscript. Your datasets will also be searchable on Mendeley Data Search, which includes nearly 11 million indexed datasets. For more information, visit Mendeley Data."
  2.  
  3. import string
  4. text1 = set(list(text.upper().replace(" ","").replace("1","").replace("(","").replace(")","").replace(".","").replace(",","").replace("!","").replace("?","").replace("-","")))
  5. text2 = list(text1)
  6. text2.sort()
  7. print(text1)
  8. print(text2)
  9.  
  10. alfabetS="".join(text2)
  11. print(alfabetS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement