Base di conoscenzaCentro esami
ITItaliano
Scegli la lingua13

CKTIS / Base di conoscenza

Base di conoscenza

Sintassi, operatori e concetti di programmazione. Trova una spiegazione, consulta un esempio e torna a imparare.

Voci: 5788

Python

logging.StreamHandler

StreamHandler scrive testo e terminatore nel flusso fornito, per impostazione predefinita sys.stderr, e chiama flush.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

logging.warning

warning registra sul logger radice un avviso di livello WARNING (30).

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.ceil

Restituisce il più piccolo intero maggiore o uguale a x.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.comb

Conta le scelte di k posizioni tra n senza reinserimento né ordine.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.cos

Calcola il coseno di un angolo in radianti, la coordinata orizzontale sulla circonferenza unitaria.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.e

Fornisce un’approssimazione in virgola mobile del numero di Eulero, base del logaritmo naturale.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.factorial

Calcola il fattoriale di un intero non negativo.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.floor

Restituisce il più grande intero che non supera x.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.fsum

Somma numeri in virgola mobile mantenendo più somme parziali.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.gcd

Restituisce il massimo comune divisore non negativo di un numero qualsiasi di interi.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.inf

Rappresenta l’infinito positivo di tipo float.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.isclose

Verifica che la differenza assoluta non superi il limite maggiore: tolleranza assoluta oppure relativa moltiplicata per il modulo maggiore.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.isfinite

Riconosce i numeri finiti, inclusi entrambi gli zeri con segno.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.isinf

Rileva esattamente gli infiniti positivo e negativo.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.isnan

Restituisce un booleano che indica se l’argomento è NaN.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.lcm

Calcola il minimo comune multiplo non negativo di interi.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.log

Calcola l’esponente a cui elevare la base per ottenere x.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.log10

Calcola il logaritmo decimale per confrontare ordini di grandezza.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.log2

Restituisce l’esponente della potenza di due corrispondente a x.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.nan

Fornisce il valore float speciale che segnala l’assenza di un risultato numerico.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.perm

Conta le scelte ordinate di k posizioni tra n senza ripetizione.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.pi

Fornisce come float un’approssimazione del rapporto fra circonferenza e diametro.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.prod

Moltiplica i valori numerici a partire dal fattore start, passato solo per nome.

Intermedio · Python 3.14; repository image, production runtime not attested
Python

math.sin

Calcola il seno di un angolo in radianti, la coordinata verticale sulla circonferenza unitaria.

Intermedio · Python 3.14; repository image, production runtime not attested