frase = 'indovina quali lettere contengo' diz = {} for let in frase: if let not in diz: diz[let] = 1 else: diz[let] += 1 for presente in diz.items(): print(presente)
To embed this project on your website, copy the following code and paste it into your website's HTML: