Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- letterin = "abz"
- parole = ["arcano","serio", "lolz"]
- ["{} presente nella stringa {} volte".format(l,Counter(s)[l])
- for l in letterin
- for s in parole]
- lista = []
- for s in parole:
- for l in letterin:
- lista.append("{} presente nella stringa {} volte".format(l,Counter(s)[l]))
- 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