s = 0for i in range(5, 0, -1): s += i
Mis on muutuja i väärtus pärast selle Pythoni skripti täitmist?
arv = 6while arv < 50: print(arv) if arv%3 == 0: print("jagub kolmega") elif arv%2 == 0: print("jagub kahega") else: print("ei jagu ei kahe ega kolmega") arv += 7
Mis on muutuja arv väärtus pärast selle skripti täitmist?
a = int(input('Sisesta arv: '))b = int(input('Sisesta teine arv: '))
def astenda(a, b): v = a**b return v
print(astenda(b, a))
Mis väljastatakse selle Pythoni skripti tulemusel, kui kasutaja sisestab esimeseks väärtuseks 4 ja teiseks väärtuseks 5?
Milline print lause ei kuulu while-lausesse (st seda ei korrata)?
def start (k): print ("Valmis olla!") while k>0: print (k, end=" ") k=k-1 print ("Start!")
def summa(a, b): s = 0 for arv in range(a, b+1): s += arv return s
print(summa(3, 6))
Mis väljastatakse selle Pythoni skripti tulemusel?
s = 0for i in range(-3, 3): s += i
Mis on muutuja i väärtus pärast selle Python 3 skripti täitmist ?
When evaluating a project, ALL DIRECT AND INDIRECT COSTS corresponding to the project must be taken into account. In particular the time that the of this project should be estimated and included so that the true cost of the project is taken into account in the NPV calculation.
In order to make the right financial choice between TWO MUTUALLY EXCLUSIVE PROJECTS
Theoretically, real estate investments are a type of investments where RESIDUAL VALUE