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!
2**3 % 3 = ?
5 == 5.0 = ?
La ce pot fi utilizate eficient instrucțiunile break și continue în cadrul buclelor Python?
Care dintre următoarele exemple reprezintă funcții care pot returna valori în Python?
Chei dicționar:
Ce reguli trebuie respectate pentru cheile dintr-un dicționar Python?
Care dintre următoarele instrucțiuni modifică elemente dintr-o listă?
Unpacking dict:
def s(a,b,c): return a*b*c
vals={"a":2,"b":3,"c":4}
print(s(**vals))
Rezultatul?
def f(a,b): return a-b
print(f(b=3,a=5))
Forma corectă pentru definire funcție