Looking for Tehnici de Programare test answers and solutions? Browse our comprehensive collection of verified answers for Tehnici de Programare at moodle-dm.space.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Ce se afișează?
def test():
print("Salut")
rez = test()
print(rez)
Unpacking listă:
def s(a,b,c): return a+b+c
vals=[1,2,3]
print(s(*vals))
Parametru pentru encodare:
Ce poți realiza cu list comprehensions (comprehensiuni de listă) în Python?
3 * (2 + 1) = ?
-7 // 3 = ?
Rezultatul?
x = -3
if x:
print("T")
else:
print("F")
(0 or 5) and 3 = ?
Ce se afișează?
x = 0
while x < 3:
print(x)
x += 1