Hizkiel Alemayehu

Results 22 comments of Hizkiel Alemayehu

``` def test_my_range(n,expected): if my_range(n) == expected: return True else: return False def my_range(n): n= n- 1 my_list=[] while n>=0: my_list.append(n) n -= 1 my_list.reverse() return(my_list) print(test_my_range(4,[0,1,2,3])) print(test_my_range(3,[0,1,2])) print(test_my_range(5,[0,1,2,3,4])) print(test_my_range(6,[0,1,2,3]))...

my_set = set() my_set.add("Bilbo") my_set.add("Frodo") my_set.add("Sam") my_set.add("Pippin") my_set.add("Merry") print(my_set)

''' my_queue.popleft(): removes "Draco" from the queue. my_queue.append("Voldemort"): add "Voldemort" to the last index of the queue. my_queue.popleft(): removes "Harry" from the queue. finally printing my_queue will look like deque(["Hermione",...

``` names = ["Harry","Draco","Hermione","Ron","Severus"] sorted_names = sorted(names) print(sorted_names) ``` ///////////////////////////////////////////////////////////// ``` names= [] names.insert(0, 'Harry') names.insert(1, 'Draco') names.insert(2, 'Hermione') names.insert(3, 'Ron') names.insert(4, 'Severus') sorted_names = sorted(names) print(sorted_names) ``` ///////////////////////////////////////////////////////////// ```...

excuting **my_stuck.pop**** will remove the last element of the list, in this case Serveus. my_stack.pop() again remove "Ron" from the stack. my_stack.append("Voldemort") will add "Volemort" to the right of the...

```def test_contains_word(first_word, second_word, bib_entry, expected): result = contains_word(first_word, second_word, bib_entry) if expected == result: return True else: return False def contains_word(first_word, second_word, bib_entry): contains_first_word = first_word in bib_entry contains_second_word =...

> I think this should wait for #419 to be merged and then needs some adjustments for the new proper serialization options. NB: #419 is merged

@roewenstrunk Kun je daar wat dieper op ingaan?

@nikobeer, is this issue already resolved or how can we reproduce the issue?