Mattia Spadoni

Results 24 comments of Mattia Spadoni

input: '' blank: '0' start state: A table: A: 0: {write: 1, R: B} 1: {write: 1, R: D} B: 0 : {write: 1, R: C} C: 0 : {write:...

![image](https://user-images.githubusercontent.com/44199892/49095183-2cfb7e00-f268-11e8-877c-8ea3c9102cd5.png)

2 different ways: The first one is developed on my own, after a discussion with @mangiafrangette I understand that my code is too long and too complicated. So I've tried...

It's quite late, I don't have the energy to put also all the test structure. ![image](https://user-images.githubusercontent.com/44199892/49190647-90260700-f373-11e8-8638-d7e578f254b7.png)

linear_search(list(["Coraline", "American Gods", "The Graveyard Book", "Good Omens", "Neverwhere"]), "The Sandman") #now we define the Algorithm , we are looking for the book "The Sandman" in a list for position,...

I have to check it on Pycharm, increasing n is a quite problematic about the computational work. I've written 44 as input of "cosalunga" on pycharm and I'm still waiting...

set_hobbit = set({"Frodo", "Sam", "Pippin", "Merry"}) set_magician = set({"Saruman", "Gandalf"}) #quest Create a dictionary with 2 key: "hobbit" and "magician" that contain the proper values lotr = dict() lotr["hobbits"] =...

All true, I was stack in the temptative of doing this thing with another way, but I'm not able to solve a problems with variables. ![image](https://user-images.githubusercontent.com/44199892/49306879-c8445b80-f4d3-11e8-95b7-2227a9942a93.png)

I cannot understand why Github don't write the indentation in this case. def test(input_list, expected): result = createstuck(input_list) if expected == result: return True else: return False from collections import...

#Theoden: so, it begins sauron._set({"Bilbo", "Frodo", "Pippin", "Sam", "Merry"}) Actions: my_set.remove("Bilbo"), ​my_set.add("Galadriel"), ​my_set.update(set({"Saruman", "Frodo", "Gandalf"})) #first step: sauron_set.remove("Bilbo") sauron._set({"Frodo", "Pippin", "Sam", "Merry"}) #second step ​sauron_set.add("Galadriel") sauron._set({"Frodo", "Pippin", "Sam", "Merry", "Galadriel"})...