Skip to content

Commit 5a28b26

Browse files
committed
added license
1 parent b3a7385 commit 5a28b26

8 files changed

+112
-0
lines changed

both_ends.py

+14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
Created on Mar 18, 2014
33
44
@author: Dario Bonino <dario.bonino@polito.it>
5+
6+
Copyright (c) 2014 Dario Bonino
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License
519
'''
620

721
def both_ends(string):

fibonacci.py

+14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
Created on Mar 18, 2014
33
44
@author: Dario Bonino <dario.bonino@polito.it>
5+
6+
Copyright (c) 2014 Dario Bonino
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License
519
'''
620

721
def fib(order):

fix_start.py

+14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
Created on Mar 18, 2014
33
44
@author: Dario Bonino <dario.bonino@polito.it>
5+
6+
Copyright (c) 2014 Dario Bonino
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License
519
'''
620

721
def fix_start(string):

front_x.py

+14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
Created on Mar 18, 2014
33
44
@author: Dario Bonino <dario.bonino@polito.it>
5+
6+
Copyright (c) 2014 Dario Bonino
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License
519
'''
620

721
def front_x(strings, char):

match_ends.py

+14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
Created on Mar 18, 2014
33
44
@author: Dario Bonino <dario.bonino@polito.it>
5+
6+
Copyright (c) 2014 Dario Bonino
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License
519
'''
620

721
def match_ends(string_array):

prime.py

+14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
Created on Mar 18, 2014
33
44
@author: Dario Bonino <dario.bonino@polito.it>
5+
6+
Copyright (c) 2014 Dario Bonino
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License
519
'''
620

721
def prime(number):

sort_last.py

+14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
Created on Mar 18, 2014
33
44
@author: Dario Bonino <dario.bonino@polito.it>
5+
6+
Copyright (c) 2014 Dario Bonino
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License
519
'''
620
def sort_last(array):
721
return sorted(array, key=lambda x: x[-1])

word_count.py

+14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
Created on Mar 19, 2014
33
44
@author: Dario Bonino <dario.bonino@polito.it>
5+
6+
Copyright (c) 2014 Dario Bonino
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License
519
'''
620

721
import string

0 commit comments

Comments
 (0)