Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

% Operatore di formato

a
a.pietroluongo (11250 points)
20 39 131
in Programmare in Python by (11.3k points)
closed by
Usando l'indicatore di formato % e non .format() , come posso specificare la larghezza del campo (gli spazi) se il valore l'ho salvato in una variabile?
351 views
closed with the note: risolto -  https://pyformat.info/

1 Answer

andrea.sterbini (208020 points)
756 1270 2377
by (208k points)