>>> from inicials import inicials_1 >>> dic = inicials_1('En aquesta frase no hi ha apostrofs pero hi ha repeticions') >>> if dic != {'e':['en'], 'a':['apostrofs', 'aquesta'], 'f':['frase'], 'n':['no'], ... 'h':['ha', 'hi'], 'p':['pero'], 'r':['repeticions']}: ... print(dic) >>> dic = inicials_1('My taylor is rich and my mother is in the kitchen') >>> if dic != {'a':['and'], 'i':['in', 'is'], 'k':['kitchen'], 'm':['mother', 'my'], ... 'r':['rich'], 't':['taylor', 'the']}: ... print(dic) >>> dic = inicials_1('El rierol del bosc es estret es gairebe un torrent') >>> if dic != {'e':['el', 'es', 'estret'], 'r':['rierol'], 'd':['del'], ... 'b':['bosc'], 'g':['gairebe'], 'u':['un'], 't':['torrent']}: ... print(dic)