Guest User

Untitled

a guest
Mar 20th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. letterin = "abz"
  2. parole = ["arcano","serio", "lolz"]
  3.  
  4. ["{} presente nella stringa {} volte".format(l,Counter(s)[l])
  5. for l in letterin
  6. for s in parole]
  7.  
  8. lista = []
  9. for s in parole:
  10. for l in letterin:
  11. lista.append("{} presente nella stringa {} volte".format(l,Counter(s)[l]))
  12.  
  13.  
  14. foo = lambda x: "{} : {} \n {}".format(type(x),x,"\n".join(["\tcontiene : {} \n {}".format(elem,elem.__doc__) for elem in dir(x)]))
Add Comment
Please, Sign In to add comment