logo

Crowdly

Browser

Add to Chrome

M122 (OI) - Automatizzare dei processi attraverso un linguaggio di script

Looking for M122 (OI) - Automatizzare dei processi attraverso un linguaggio di script test answers and solutions? Browse our comprehensive collection of verified answers for M122 (OI) - Automatizzare dei processi attraverso un linguaggio di script at moodle.edu.ti.ch.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Competa il seguente codice in modo che chieda all'utente di inserire un numero intero, verifichi se è pari e stampare a schermo "Pari" o "Dispari".

numero = _____________________

if ____________________:

    print(_______)

else:

    print(_______)

View this question

Quale sarà l'output del seguente codice?

x = 3

y = 6

if x * 2 == y:

    print("A")

elif x + y == 9:

    print("B")

else:

    print("C")

View this question
View this question
View this question

Cosa restituisce l'espressione 10 > 5 and 5 < 3 ?

View this question
View this question
View this question

Qual'è l'output del seguente codice?

x = 5

y = 10

z = x > 3 and y < 15 or x == 0

print(z)

View this question

Quale tra le seguenti è una dichiarazione valida di una variabile in Python?

View this question

Cosa succede con questo codice?

prezzo = 100

if prezzo > 100:

    sconto = 0.1

totale = prezzo * (1 - sconto)

print(totale)

View this question

Want instant access to all verified answers on moodle.edu.ti.ch?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome