non ho capito che c'entra la lunghezza del codice con un if di controllo per decidere o meno come stampare la stringa