Skip to content

Instantly share code, notes, and snippets.

View prob.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from random import randint, choice, choices
import json, jsonpickle
alfabeto = {chr(i) for i in range(97, 123)}
vocali = {'a', 'e', 'i', 'o', 'u', 'y', 'j'}
consonanti = alfabeto - vocali
cr_nin = " àùéòìèó"
with open("./caratteri.json", 'r') as f:
caratteri = json.loads(