1) What is the output of the expression print(-18 // 4) a) -4 b) 4 c) -5 d) 5 2) What is the output of print(2 * 3 ** 3 * 4) a) 216 b) 846 c) 864 d) 110 3) What is the output of the following print() function: print('%d %d %.2f' % (11, '22', 11.22)) a) 11 22 11.22 b) Type error c) 11’22 11.22 d) 11’22’11.22 4) What is the output of the following print() function print(sep='--', 'Ben', 25, 'California') a) Invalid syntax b) Ben-25-California c) Ben 25 California d) Ben 25-California

Classifica

Stile di visualizzazione

Opzioni

Cambia modello

Ripristinare il titolo salvato automaticamente: ?