Pytania z kategorii Python
W jaki sposób pobrałbyś wartość spod klucza słownika? if dict.has_key('x'): value = dict['x'] else: value ...
1. def abc(zzz): 2: if zzz > 5 3: return zzz % 5 4: return ...
((a, b), c) = ('TE', 'ST') as result a, b, c would contain: a == ...
lists = [[]] * 5 lists[0].append(3) 1. lists == [[3], [], [], [], []] 2. ...
list = [1,2,3,4,5] list.append(5) list to teraz: 1. [1,2,3,4,5,5] 2. [1,2,3,4,5]
When python creates functions defined by "def" statement? (multiple choice question) 1. Function is created ...