diff options
Diffstat (limited to 'python')
150 files changed, 0 insertions, 253 deletions
diff --git a/python/common.py b/python/common.py index bcd0ee3..a07b87e 100644 --- a/python/common.py +++ b/python/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import ast from server.hints import Hint diff --git a/python/en.py b/python/en.py index 5929a97..a4b2d87 100644 --- a/python/en.py +++ b/python/en.py @@ -1,9 +1,6 @@ -# coding=utf-8 - name = 'Python' description = 'Introductory Python course.' - general_msg = { 'error_head' : '''\ ''', diff --git a/python/problems/functions/assign_numbers/common.py b/python/problems/functions/assign_numbers/common.py index effd061..a997d2c 100644 --- a/python/problems/functions/assign_numbers/common.py +++ b/python/problems/functions/assign_numbers/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions/assign_numbers/en.py b/python/problems/functions/assign_numbers/en.py index a68c6c8..ebd7ecd 100644 --- a/python/problems/functions/assign_numbers/en.py +++ b/python/problems/functions/assign_numbers/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 225 name = 'Assign numbers' slug = 'Assign numbers' diff --git a/python/problems/functions/assign_numbers/sl.py b/python/problems/functions/assign_numbers/sl.py index 767e045..259321a 100644 --- a/python/problems/functions/assign_numbers/sl.py +++ b/python/problems/functions/assign_numbers/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions/body_mass_index/common.py b/python/problems/functions/body_mass_index/common.py index 1ff56b6..4331e06 100644 --- a/python/problems/functions/body_mass_index/common.py +++ b/python/problems/functions/body_mass_index/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc, almost_equal diff --git a/python/problems/functions/body_mass_index/en.py b/python/problems/functions/body_mass_index/en.py index fb4663f..68d7546 100644 --- a/python/problems/functions/body_mass_index/en.py +++ b/python/problems/functions/body_mass_index/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 226 name = 'Body mass index' slug = 'Body mass index' diff --git a/python/problems/functions/body_mass_index/sl.py b/python/problems/functions/body_mass_index/sl.py index 995e974..074b7e5 100644 --- a/python/problems/functions/body_mass_index/sl.py +++ b/python/problems/functions/body_mass_index/sl.py @@ -1,8 +1,6 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') - id = 226 name = 'Indeks telesne teže' slug = 'Indeks telesne teže' diff --git a/python/problems/functions/body_mass_index_2/common.py b/python/problems/functions/body_mass_index_2/common.py index 176a59d..f4e2426 100644 --- a/python/problems/functions/body_mass_index_2/common.py +++ b/python/problems/functions/body_mass_index_2/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc, almost_equal diff --git a/python/problems/functions/body_mass_index_2/en.py b/python/problems/functions/body_mass_index_2/en.py index b34718b..7dd5a43 100644 --- a/python/problems/functions/body_mass_index_2/en.py +++ b/python/problems/functions/body_mass_index_2/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Body mass index 2' slug = 'Body mass index 2' diff --git a/python/problems/functions/body_mass_index_2/sl.py b/python/problems/functions/body_mass_index_2/sl.py index 9f323bd..c6b069a 100644 --- a/python/problems/functions/body_mass_index_2/sl.py +++ b/python/problems/functions/body_mass_index_2/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions/divisors/common.py b/python/problems/functions/divisors/common.py index afff7c5..6ba85fd 100644 --- a/python/problems/functions/divisors/common.py +++ b/python/problems/functions/divisors/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions/divisors/en.py b/python/problems/functions/divisors/en.py index d1e71c2..a9ed603 100644 --- a/python/problems/functions/divisors/en.py +++ b/python/problems/functions/divisors/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 230 name = 'Divisors' slug = 'Divisors' diff --git a/python/problems/functions/divisors/sl.py b/python/problems/functions/divisors/sl.py index b4f0070..49e2f5a 100644 --- a/python/problems/functions/divisors/sl.py +++ b/python/problems/functions/divisors/sl.py @@ -1,8 +1,6 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') - id = 230 name = 'Delitelji' slug = 'Delitelji' diff --git a/python/problems/functions/divisors_sum/common.py b/python/problems/functions/divisors_sum/common.py index 142a448..e76ee38 100644 --- a/python/problems/functions/divisors_sum/common.py +++ b/python/problems/functions/divisors_sum/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions/divisors_sum/en.py b/python/problems/functions/divisors_sum/en.py index 67806f7..c6efaba 100644 --- a/python/problems/functions/divisors_sum/en.py +++ b/python/problems/functions/divisors_sum/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 231 name = 'Divisors sum' slug = 'Divisors sum' diff --git a/python/problems/functions/divisors_sum/sl.py b/python/problems/functions/divisors_sum/sl.py index f06b1dd..490450a 100644 --- a/python/problems/functions/divisors_sum/sl.py +++ b/python/problems/functions/divisors_sum/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions/friendly_numbers/common.py b/python/problems/functions/friendly_numbers/common.py index fe121dc..5c7e11b 100644 --- a/python/problems/functions/friendly_numbers/common.py +++ b/python/problems/functions/friendly_numbers/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions/friendly_numbers/en.py b/python/problems/functions/friendly_numbers/en.py index c77dca1..f186528 100644 --- a/python/problems/functions/friendly_numbers/en.py +++ b/python/problems/functions/friendly_numbers/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 233 name = 'Amicable numbers' slug = 'Amicable numbers' diff --git a/python/problems/functions/friendly_numbers/sl.py b/python/problems/functions/friendly_numbers/sl.py index dd15e0d..90772f6 100644 --- a/python/problems/functions/friendly_numbers/sl.py +++ b/python/problems/functions/friendly_numbers/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions/greatest/common.py b/python/problems/functions/greatest/common.py index 726fa88..9d5401f 100644 --- a/python/problems/functions/greatest/common.py +++ b/python/problems/functions/greatest/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions/greatest/en.py b/python/problems/functions/greatest/en.py index acf4672..a207a9c 100644 --- a/python/problems/functions/greatest/en.py +++ b/python/problems/functions/greatest/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Maximum number' slug = 'Maximum number' diff --git a/python/problems/functions/greatest/sl.py b/python/problems/functions/greatest/sl.py index 467de07..470afdd 100644 --- a/python/problems/functions/greatest/sl.py +++ b/python/problems/functions/greatest/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions/greatest_absolutist/common.py b/python/problems/functions/greatest_absolutist/common.py index 3226b87..0d0eef4 100644 --- a/python/problems/functions/greatest_absolutist/common.py +++ b/python/problems/functions/greatest_absolutist/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions/greatest_absolutist/en.py b/python/problems/functions/greatest_absolutist/en.py index 1ede4a9..dee9fa5 100644 --- a/python/problems/functions/greatest_absolutist/en.py +++ b/python/problems/functions/greatest_absolutist/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Greatest absolutist' slug = 'Greatest absolutist' diff --git a/python/problems/functions/greatest_absolutist/sl.py b/python/problems/functions/greatest_absolutist/sl.py index dd0bd99..7549433 100644 --- a/python/problems/functions/greatest_absolutist/sl.py +++ b/python/problems/functions/greatest_absolutist/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions/greatest_negative/common.py b/python/problems/functions/greatest_negative/common.py index 72754e2..6b25e28 100644 --- a/python/problems/functions/greatest_negative/common.py +++ b/python/problems/functions/greatest_negative/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions/greatest_negative/en.py b/python/problems/functions/greatest_negative/en.py index 5c2919a..d9bd96d 100644 --- a/python/problems/functions/greatest_negative/en.py +++ b/python/problems/functions/greatest_negative/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Greatest negativist' slug = 'Greatest negativist' diff --git a/python/problems/functions/greatest_negative/sl.py b/python/problems/functions/greatest_negative/sl.py index 38a9f08..5fae24b 100644 --- a/python/problems/functions/greatest_negative/sl.py +++ b/python/problems/functions/greatest_negative/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions/palindrome/common.py b/python/problems/functions/palindrome/common.py index eec8211..0acdd20 100644 --- a/python/problems/functions/palindrome/common.py +++ b/python/problems/functions/palindrome/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions/palindrome/en.py b/python/problems/functions/palindrome/en.py index 784c395..fbc1c68 100644 --- a/python/problems/functions/palindrome/en.py +++ b/python/problems/functions/palindrome/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 228 name = 'Palindrome' slug = 'Palindrome' diff --git a/python/problems/functions/palindrome/sl.py b/python/problems/functions/palindrome/sl.py index 9ddba0d..0fb8182 100644 --- a/python/problems/functions/palindrome/sl.py +++ b/python/problems/functions/palindrome/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions/palindromic_numbers/common.py b/python/problems/functions/palindromic_numbers/common.py index 6f49896..ec12df9 100644 --- a/python/problems/functions/palindromic_numbers/common.py +++ b/python/problems/functions/palindromic_numbers/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions/palindromic_numbers/en.py b/python/problems/functions/palindromic_numbers/en.py index 5f4ea76..fa987c2 100644 --- a/python/problems/functions/palindromic_numbers/en.py +++ b/python/problems/functions/palindromic_numbers/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 229 name = 'Palindromic numbers' slug = 'Palindromic numbers' diff --git a/python/problems/functions/palindromic_numbers/sl.py b/python/problems/functions/palindromic_numbers/sl.py index fef1d96..3f1844c 100644 --- a/python/problems/functions/palindromic_numbers/sl.py +++ b/python/problems/functions/palindromic_numbers/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions/perfect_numbers/common.py b/python/problems/functions/perfect_numbers/common.py index 72267e6..e93cd03 100644 --- a/python/problems/functions/perfect_numbers/common.py +++ b/python/problems/functions/perfect_numbers/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions/perfect_numbers/en.py b/python/problems/functions/perfect_numbers/en.py index a7cb94e..5c476a4 100644 --- a/python/problems/functions/perfect_numbers/en.py +++ b/python/problems/functions/perfect_numbers/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 232 name = 'Perfect numbers' slug = 'Perfect numbers' diff --git a/python/problems/functions/perfect_numbers/sl.py b/python/problems/functions/perfect_numbers/sl.py index 156b41d..57bfe38 100644 --- a/python/problems/functions/perfect_numbers/sl.py +++ b/python/problems/functions/perfect_numbers/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions/prime_numbers/common.py b/python/problems/functions/prime_numbers/common.py index 33eb134..0f53eba 100644 --- a/python/problems/functions/prime_numbers/common.py +++ b/python/problems/functions/prime_numbers/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions/prime_numbers/en.py b/python/problems/functions/prime_numbers/en.py index 87c01a2..daf323b 100644 --- a/python/problems/functions/prime_numbers/en.py +++ b/python/problems/functions/prime_numbers/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 234 name = 'Prime numbers' slug = 'Prime numbers' diff --git a/python/problems/functions/prime_numbers/sl.py b/python/problems/functions/prime_numbers/sl.py index a224696..60ba049 100644 --- a/python/problems/functions/prime_numbers/sl.py +++ b/python/problems/functions/prime_numbers/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions_and_modules/all/common.py b/python/problems/functions_and_modules/all/common.py index a02cb4b..6df5597 100644 --- a/python/problems/functions_and_modules/all/common.py +++ b/python/problems/functions_and_modules/all/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions_and_modules/all/en.py b/python/problems/functions_and_modules/all/en.py index 3028ad4..2594a64 100644 --- a/python/problems/functions_and_modules/all/en.py +++ b/python/problems/functions_and_modules/all/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 238 name = 'All' slug = 'All' diff --git a/python/problems/functions_and_modules/all/sl.py b/python/problems/functions_and_modules/all/sl.py index e224811..37666a0 100644 --- a/python/problems/functions_and_modules/all/sl.py +++ b/python/problems/functions_and_modules/all/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions_and_modules/any/common.py b/python/problems/functions_and_modules/any/common.py index 9d0d0d2..3834c8a 100644 --- a/python/problems/functions_and_modules/any/common.py +++ b/python/problems/functions_and_modules/any/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions_and_modules/any/en.py b/python/problems/functions_and_modules/any/en.py index f5b94d9..d827209 100644 --- a/python/problems/functions_and_modules/any/en.py +++ b/python/problems/functions_and_modules/any/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 239 name = 'Any' slug = 'Any' diff --git a/python/problems/functions_and_modules/any/sl.py b/python/problems/functions_and_modules/any/sl.py index ab1aacf..36c478f 100644 --- a/python/problems/functions_and_modules/any/sl.py +++ b/python/problems/functions_and_modules/any/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions_and_modules/caesar_cipher/common.py b/python/problems/functions_and_modules/caesar_cipher/common.py index 497ce34..b85c847 100644 --- a/python/problems/functions_and_modules/caesar_cipher/common.py +++ b/python/problems/functions_and_modules/caesar_cipher/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions_and_modules/caesar_cipher/en.py b/python/problems/functions_and_modules/caesar_cipher/en.py index bcfedee..9f6c500 100644 --- a/python/problems/functions_and_modules/caesar_cipher/en.py +++ b/python/problems/functions_and_modules/caesar_cipher/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 243 name = 'Caesar cipher' slug = 'Caesar cipher' diff --git a/python/problems/functions_and_modules/caesar_cipher/sl.py b/python/problems/functions_and_modules/caesar_cipher/sl.py index bedf403..488a4c1 100644 --- a/python/problems/functions_and_modules/caesar_cipher/sl.py +++ b/python/problems/functions_and_modules/caesar_cipher/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions_and_modules/dominoes/common.py b/python/problems/functions_and_modules/dominoes/common.py index 9a46a78..eb5d8e8 100644 --- a/python/problems/functions_and_modules/dominoes/common.py +++ b/python/problems/functions_and_modules/dominoes/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions_and_modules/dominoes/en.py b/python/problems/functions_and_modules/dominoes/en.py index 4d0d31b..5975fd0 100644 --- a/python/problems/functions_and_modules/dominoes/en.py +++ b/python/problems/functions_and_modules/dominoes/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 240 name = 'Dominoes' slug = 'Dominoes' diff --git a/python/problems/functions_and_modules/dominoes/sl.py b/python/problems/functions_and_modules/dominoes/sl.py index cfcee24..09432b9 100644 --- a/python/problems/functions_and_modules/dominoes/sl.py +++ b/python/problems/functions_and_modules/dominoes/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions_and_modules/largest_sublist/common.py b/python/problems/functions_and_modules/largest_sublist/common.py index 237b817..44a661d 100644 --- a/python/problems/functions_and_modules/largest_sublist/common.py +++ b/python/problems/functions_and_modules/largest_sublist/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions_and_modules/largest_sublist/en.py b/python/problems/functions_and_modules/largest_sublist/en.py index 132eb39..bb2cfe0 100644 --- a/python/problems/functions_and_modules/largest_sublist/en.py +++ b/python/problems/functions_and_modules/largest_sublist/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 242 name = 'Largest sublist' slug = 'Largest sublist' diff --git a/python/problems/functions_and_modules/largest_sublist/sl.py b/python/problems/functions_and_modules/largest_sublist/sl.py index c3582f0..8a3d0bb 100644 --- a/python/problems/functions_and_modules/largest_sublist/sl.py +++ b/python/problems/functions_and_modules/largest_sublist/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions_and_modules/lists_sum/common.py b/python/problems/functions_and_modules/lists_sum/common.py index c62bce1..cfdb179 100644 --- a/python/problems/functions_and_modules/lists_sum/common.py +++ b/python/problems/functions_and_modules/lists_sum/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions_and_modules/lists_sum/en.py b/python/problems/functions_and_modules/lists_sum/en.py index 12eaf0b..3791f63 100644 --- a/python/problems/functions_and_modules/lists_sum/en.py +++ b/python/problems/functions_and_modules/lists_sum/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 241 name = 'Lists sum' slug = 'Lists sum' diff --git a/python/problems/functions_and_modules/lists_sum/sl.py b/python/problems/functions_and_modules/lists_sum/sl.py index 88ac541..de94373 100644 --- a/python/problems/functions_and_modules/lists_sum/sl.py +++ b/python/problems/functions_and_modules/lists_sum/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions_and_modules/longest_word/common.py b/python/problems/functions_and_modules/longest_word/common.py index b4fabc1..addf024 100644 --- a/python/problems/functions_and_modules/longest_word/common.py +++ b/python/problems/functions_and_modules/longest_word/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions_and_modules/longest_word/en.py b/python/problems/functions_and_modules/longest_word/en.py index 7bd4dc2..e3459b8 100644 --- a/python/problems/functions_and_modules/longest_word/en.py +++ b/python/problems/functions_and_modules/longest_word/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 235 name = 'Longest word' slug = 'Longest word' diff --git a/python/problems/functions_and_modules/longest_word/sl.py b/python/problems/functions_and_modules/longest_word/sl.py index 0d4b057..2deff0a 100644 --- a/python/problems/functions_and_modules/longest_word/sl.py +++ b/python/problems/functions_and_modules/longest_word/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions_and_modules/map/common.py b/python/problems/functions_and_modules/map/common.py index 93ba8ac..2d0f3f8 100644 --- a/python/problems/functions_and_modules/map/common.py +++ b/python/problems/functions_and_modules/map/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions_and_modules/map/en.py b/python/problems/functions_and_modules/map/en.py index dcc1785..73f0202 100644 --- a/python/problems/functions_and_modules/map/en.py +++ b/python/problems/functions_and_modules/map/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 245 name = 'Map' slug = 'Map' diff --git a/python/problems/functions_and_modules/map/sl.py b/python/problems/functions_and_modules/map/sl.py index 6695b30..8b14aa3 100644 --- a/python/problems/functions_and_modules/map/sl.py +++ b/python/problems/functions_and_modules/map/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions_and_modules/multiplicative_range/common.py b/python/problems/functions_and_modules/multiplicative_range/common.py index 9b892e6..3cb266e 100644 --- a/python/problems/functions_and_modules/multiplicative_range/common.py +++ b/python/problems/functions_and_modules/multiplicative_range/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions_and_modules/multiplicative_range/en.py b/python/problems/functions_and_modules/multiplicative_range/en.py index 566ef5f..c37bfd5 100644 --- a/python/problems/functions_and_modules/multiplicative_range/en.py +++ b/python/problems/functions_and_modules/multiplicative_range/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 244 name = 'Multiplicative range' slug = 'Multiplicative range' diff --git a/python/problems/functions_and_modules/multiplicative_range/sl.py b/python/problems/functions_and_modules/multiplicative_range/sl.py index bb02a84..79f1fb4 100644 --- a/python/problems/functions_and_modules/multiplicative_range/sl.py +++ b/python/problems/functions_and_modules/multiplicative_range/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions_and_modules/similarity/common.py b/python/problems/functions_and_modules/similarity/common.py index 3a6df99..0f13fcf 100644 --- a/python/problems/functions_and_modules/similarity/common.py +++ b/python/problems/functions_and_modules/similarity/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions_and_modules/similarity/en.py b/python/problems/functions_and_modules/similarity/en.py index e1dc014..3023693 100644 --- a/python/problems/functions_and_modules/similarity/en.py +++ b/python/problems/functions_and_modules/similarity/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 236 name = 'Similarity' slug = 'Similarity' diff --git a/python/problems/functions_and_modules/similarity/sl.py b/python/problems/functions_and_modules/similarity/sl.py index d3bb95c..60bbecb 100644 --- a/python/problems/functions_and_modules/similarity/sl.py +++ b/python/problems/functions_and_modules/similarity/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/functions_and_modules/suspicious_words/common.py b/python/problems/functions_and_modules/suspicious_words/common.py index 89c1a88..71000d0 100644 --- a/python/problems/functions_and_modules/suspicious_words/common.py +++ b/python/problems/functions_and_modules/suspicious_words/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/functions_and_modules/suspicious_words/en.py b/python/problems/functions_and_modules/suspicious_words/en.py index 9a406bf..2afb97d 100644 --- a/python/problems/functions_and_modules/suspicious_words/en.py +++ b/python/problems/functions_and_modules/suspicious_words/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 237 name = 'Suspicious words' slug = 'Suspicious words' diff --git a/python/problems/functions_and_modules/suspicious_words/sl.py b/python/problems/functions_and_modules/suspicious_words/sl.py index 1aa3bdf..9309022 100644 --- a/python/problems/functions_and_modules/suspicious_words/sl.py +++ b/python/problems/functions_and_modules/suspicious_words/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/introduction/average/common.py b/python/problems/introduction/average/common.py index 28c7a7e..fa152e9 100644 --- a/python/problems/introduction/average/common.py +++ b/python/problems/introduction/average/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/python/problems/introduction/average/en.py b/python/problems/introduction/average/en.py index 5ce621e..5f74425 100644 --- a/python/problems/introduction/average/en.py +++ b/python/problems/introduction/average/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Average grade' slug = 'Average grade' diff --git a/python/problems/introduction/average/sl.py b/python/problems/introduction/average/sl.py index 974d441..70a755a 100644 --- a/python/problems/introduction/average/sl.py +++ b/python/problems/introduction/average/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/introduction/ballistics/common.py b/python/problems/introduction/ballistics/common.py index 8cb5c2d..326650b 100644 --- a/python/problems/introduction/ballistics/common.py +++ b/python/problems/introduction/ballistics/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/python/problems/introduction/ballistics/en.py b/python/problems/introduction/ballistics/en.py index 6fab80f..0c6f482 100644 --- a/python/problems/introduction/ballistics/en.py +++ b/python/problems/introduction/ballistics/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Ballistics' slug = 'Ballistics' diff --git a/python/problems/introduction/ballistics/sl.py b/python/problems/introduction/ballistics/sl.py index da2c34c..ac5de23 100644 --- a/python/problems/introduction/ballistics/sl.py +++ b/python/problems/introduction/ballistics/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/introduction/fahrenheit_to_celsius/common.py b/python/problems/introduction/fahrenheit_to_celsius/common.py index 10a1067..a62d2ae 100644 --- a/python/problems/introduction/fahrenheit_to_celsius/common.py +++ b/python/problems/introduction/fahrenheit_to_celsius/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/python/problems/introduction/fahrenheit_to_celsius/en.py b/python/problems/introduction/fahrenheit_to_celsius/en.py index 5d7522e..4527bef 100644 --- a/python/problems/introduction/fahrenheit_to_celsius/en.py +++ b/python/problems/introduction/fahrenheit_to_celsius/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Converting Fahrenheit to Celsius' slug = 'Converting Fahrenheit to Celsius' diff --git a/python/problems/introduction/fahrenheit_to_celsius/sl.py b/python/problems/introduction/fahrenheit_to_celsius/sl.py index 948bf5a..11b5662 100644 --- a/python/problems/introduction/fahrenheit_to_celsius/sl.py +++ b/python/problems/introduction/fahrenheit_to_celsius/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/introduction/fast_fingers/common.py b/python/problems/introduction/fast_fingers/common.py index 754679d..fe87555 100644 --- a/python/problems/introduction/fast_fingers/common.py +++ b/python/problems/introduction/fast_fingers/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/python/problems/introduction/fast_fingers/en.py b/python/problems/introduction/fast_fingers/en.py index ab4637a..d434ed9 100644 --- a/python/problems/introduction/fast_fingers/en.py +++ b/python/problems/introduction/fast_fingers/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Fast fingers' slug = 'Fast fingers' diff --git a/python/problems/introduction/fast_fingers/sl.py b/python/problems/introduction/fast_fingers/sl.py index c181951..d3a2fe0 100644 --- a/python/problems/introduction/fast_fingers/sl.py +++ b/python/problems/introduction/fast_fingers/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/introduction/fast_fingers_2/common.py b/python/problems/introduction/fast_fingers_2/common.py index c738d45..01ad941 100644 --- a/python/problems/introduction/fast_fingers_2/common.py +++ b/python/problems/introduction/fast_fingers_2/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/python/problems/introduction/fast_fingers_2/en.py b/python/problems/introduction/fast_fingers_2/en.py index 2172127..7ca530f 100644 --- a/python/problems/introduction/fast_fingers_2/en.py +++ b/python/problems/introduction/fast_fingers_2/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Fast fingers 2' slug = 'Fast fingers 2' diff --git a/python/problems/introduction/fast_fingers_2/sl.py b/python/problems/introduction/fast_fingers_2/sl.py index 6606fbe..19492b8 100644 --- a/python/problems/introduction/fast_fingers_2/sl.py +++ b/python/problems/introduction/fast_fingers_2/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/introduction/pythagorean_theorem/common.py b/python/problems/introduction/pythagorean_theorem/common.py index cebae68..d38ae66 100644 --- a/python/problems/introduction/pythagorean_theorem/common.py +++ b/python/problems/introduction/pythagorean_theorem/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/python/problems/introduction/pythagorean_theorem/en.py b/python/problems/introduction/pythagorean_theorem/en.py index 79d7e39..d6c9c61 100644 --- a/python/problems/introduction/pythagorean_theorem/en.py +++ b/python/problems/introduction/pythagorean_theorem/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Pythagorean theorem' slug = 'Pythagorean theorem' diff --git a/python/problems/introduction/pythagorean_theorem/sl.py b/python/problems/introduction/pythagorean_theorem/sl.py index 9500651..ebe67b1 100644 --- a/python/problems/introduction/pythagorean_theorem/sl.py +++ b/python/problems/introduction/pythagorean_theorem/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/calculator_polish/common.py b/python/problems/lists_and_for/calculator_polish/common.py index cb89a50..790f116 100644 --- a/python/problems/lists_and_for/calculator_polish/common.py +++ b/python/problems/lists_and_for/calculator_polish/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/calculator_polish/en.py b/python/problems/lists_and_for/calculator_polish/en.py index f0618e8..0ec6ad2 100644 --- a/python/problems/lists_and_for/calculator_polish/en.py +++ b/python/problems/lists_and_for/calculator_polish/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 224 name = 'Reverse polish potation calculator' slug = 'Reverse polish potation calculator' diff --git a/python/problems/lists_and_for/calculator_polish/sl.py b/python/problems/lists_and_for/calculator_polish/sl.py index eb47c94..f5f0f63 100644 --- a/python/problems/lists_and_for/calculator_polish/sl.py +++ b/python/problems/lists_and_for/calculator_polish/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/contains_42/common.py b/python/problems/lists_and_for/contains_42/common.py index 312b601..dfaab56 100644 --- a/python/problems/lists_and_for/contains_42/common.py +++ b/python/problems/lists_and_for/contains_42/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/contains_42/en.py b/python/problems/lists_and_for/contains_42/en.py index 7794063..8033c24 100644 --- a/python/problems/lists_and_for/contains_42/en.py +++ b/python/problems/lists_and_for/contains_42/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Contains 42' slug = 'Contains 42' diff --git a/python/problems/lists_and_for/contains_42/sl.py b/python/problems/lists_and_for/contains_42/sl.py index 65353a7..beff636 100644 --- a/python/problems/lists_and_for/contains_42/sl.py +++ b/python/problems/lists_and_for/contains_42/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/contains_multiples/common.py b/python/problems/lists_and_for/contains_multiples/common.py index 055cc3e..84eaca9 100644 --- a/python/problems/lists_and_for/contains_multiples/common.py +++ b/python/problems/lists_and_for/contains_multiples/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/contains_multiples/en.py b/python/problems/lists_and_for/contains_multiples/en.py index 47bf004..7bd72ce 100644 --- a/python/problems/lists_and_for/contains_multiples/en.py +++ b/python/problems/lists_and_for/contains_multiples/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 219 name = 'Contains multiples' slug = 'Contains multiples' diff --git a/python/problems/lists_and_for/contains_multiples/sl.py b/python/problems/lists_and_for/contains_multiples/sl.py index 7345370..cc758a5 100644 --- a/python/problems/lists_and_for/contains_multiples/sl.py +++ b/python/problems/lists_and_for/contains_multiples/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/contains_string/common.py b/python/problems/lists_and_for/contains_string/common.py index 5470251..c307a9c 100644 --- a/python/problems/lists_and_for/contains_string/common.py +++ b/python/problems/lists_and_for/contains_string/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/contains_string/en.py b/python/problems/lists_and_for/contains_string/en.py index b57be95..a3c79d6 100644 --- a/python/problems/lists_and_for/contains_string/en.py +++ b/python/problems/lists_and_for/contains_string/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Contains string' slug = 'Contains string' diff --git a/python/problems/lists_and_for/contains_string/sl.py b/python/problems/lists_and_for/contains_string/sl.py index 7061c59..a0fda47 100644 --- a/python/problems/lists_and_for/contains_string/sl.py +++ b/python/problems/lists_and_for/contains_string/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/counting/common.py b/python/problems/lists_and_for/counting/common.py index d80d1c9..5438030 100644 --- a/python/problems/lists_and_for/counting/common.py +++ b/python/problems/lists_and_for/counting/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/counting/en.py b/python/problems/lists_and_for/counting/en.py index 223a611..30d4ac3 100644 --- a/python/problems/lists_and_for/counting/en.py +++ b/python/problems/lists_and_for/counting/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Counting' slug = 'Counting' diff --git a/python/problems/lists_and_for/counting/sl.py b/python/problems/lists_and_for/counting/sl.py index 926d2c6..747f65e 100644 --- a/python/problems/lists_and_for/counting/sl.py +++ b/python/problems/lists_and_for/counting/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/divisors/common.py b/python/problems/lists_and_for/divisors/common.py index a99246b..429e212 100644 --- a/python/problems/lists_and_for/divisors/common.py +++ b/python/problems/lists_and_for/divisors/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/divisors/en.py b/python/problems/lists_and_for/divisors/en.py index 8f4dbeb..1e499f1 100644 --- a/python/problems/lists_and_for/divisors/en.py +++ b/python/problems/lists_and_for/divisors/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Divisors' slug = 'Divisors' diff --git a/python/problems/lists_and_for/divisors/sl.py b/python/problems/lists_and_for/divisors/sl.py index f79875a..93f14eb 100644 --- a/python/problems/lists_and_for/divisors/sl.py +++ b/python/problems/lists_and_for/divisors/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/divisors_sum/common.py b/python/problems/lists_and_for/divisors_sum/common.py index 1d11410..65333f0 100644 --- a/python/problems/lists_and_for/divisors_sum/common.py +++ b/python/problems/lists_and_for/divisors_sum/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/divisors_sum/en.py b/python/problems/lists_and_for/divisors_sum/en.py index 4ca12b9..8ced369 100644 --- a/python/problems/lists_and_for/divisors_sum/en.py +++ b/python/problems/lists_and_for/divisors_sum/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 216 name = 'Divisors sum' slug = 'Divisors sum' diff --git a/python/problems/lists_and_for/divisors_sum/sl.py b/python/problems/lists_and_for/divisors_sum/sl.py index 4f5c10a..1fe31eb 100644 --- a/python/problems/lists_and_for/divisors_sum/sl.py +++ b/python/problems/lists_and_for/divisors_sum/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/every_third/common.py b/python/problems/lists_and_for/every_third/common.py index 1529184..da4a2fa 100644 --- a/python/problems/lists_and_for/every_third/common.py +++ b/python/problems/lists_and_for/every_third/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/every_third/en.py b/python/problems/lists_and_for/every_third/en.py index e7c843e..4477e06 100644 --- a/python/problems/lists_and_for/every_third/en.py +++ b/python/problems/lists_and_for/every_third/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 220 name = 'Every third' slug = 'Every third' diff --git a/python/problems/lists_and_for/every_third/sl.py b/python/problems/lists_and_for/every_third/sl.py index 50b4520..90f1ad5 100644 --- a/python/problems/lists_and_for/every_third/sl.py +++ b/python/problems/lists_and_for/every_third/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/perfect_numbers/common.py b/python/problems/lists_and_for/perfect_numbers/common.py index 9a48967..1369188 100644 --- a/python/problems/lists_and_for/perfect_numbers/common.py +++ b/python/problems/lists_and_for/perfect_numbers/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/perfect_numbers/en.py b/python/problems/lists_and_for/perfect_numbers/en.py index 19d5262..14a23b8 100644 --- a/python/problems/lists_and_for/perfect_numbers/en.py +++ b/python/problems/lists_and_for/perfect_numbers/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 217 name = 'Perfect number' slug = 'Perfect number' diff --git a/python/problems/lists_and_for/perfect_numbers/sl.py b/python/problems/lists_and_for/perfect_numbers/sl.py index bc02d00..cf9feb3 100644 --- a/python/problems/lists_and_for/perfect_numbers/sl.py +++ b/python/problems/lists_and_for/perfect_numbers/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/places/common.py b/python/problems/lists_and_for/places/common.py index 56b3f1d..df62e7a 100644 --- a/python/problems/lists_and_for/places/common.py +++ b/python/problems/lists_and_for/places/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/places/en.py b/python/problems/lists_and_for/places/en.py index 95b119f..7721176 100644 --- a/python/problems/lists_and_for/places/en.py +++ b/python/problems/lists_and_for/places/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 218 name = 'Places' slug = 'Places' diff --git a/python/problems/lists_and_for/places/sl.py b/python/problems/lists_and_for/places/sl.py index cf8aa26..fafd790 100644 --- a/python/problems/lists_and_for/places/sl.py +++ b/python/problems/lists_and_for/places/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/prefix/common.py b/python/problems/lists_and_for/prefix/common.py index cd649af..3cc57fb 100644 --- a/python/problems/lists_and_for/prefix/common.py +++ b/python/problems/lists_and_for/prefix/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/prefix/en.py b/python/problems/lists_and_for/prefix/en.py index ea26765..e03eab5 100644 --- a/python/problems/lists_and_for/prefix/en.py +++ b/python/problems/lists_and_for/prefix/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 221 name = 'Prefix' slug = 'Prefix' diff --git a/python/problems/lists_and_for/prefix/sl.py b/python/problems/lists_and_for/prefix/sl.py index 49a39c7..f0363e9 100644 --- a/python/problems/lists_and_for/prefix/sl.py +++ b/python/problems/lists_and_for/prefix/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/split_word/common.py b/python/problems/lists_and_for/split_word/common.py index 6031b19..95f87f7 100644 --- a/python/problems/lists_and_for/split_word/common.py +++ b/python/problems/lists_and_for/split_word/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/split_word/en.py b/python/problems/lists_and_for/split_word/en.py index a6519d0..cb2b278 100644 --- a/python/problems/lists_and_for/split_word/en.py +++ b/python/problems/lists_and_for/split_word/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 222 name = 'Split word' slug = 'Split word' diff --git a/python/problems/lists_and_for/split_word/sl.py b/python/problems/lists_and_for/split_word/sl.py index 59a27b2..3596459 100644 --- a/python/problems/lists_and_for/split_word/sl.py +++ b/python/problems/lists_and_for/split_word/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/lists_and_for/substrings/common.py b/python/problems/lists_and_for/substrings/common.py index 8128797..3a996c2 100644 --- a/python/problems/lists_and_for/substrings/common.py +++ b/python/problems/lists_and_for/substrings/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import re from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc diff --git a/python/problems/lists_and_for/substrings/en.py b/python/problems/lists_and_for/substrings/en.py index 053bee4..1cb4c3d 100644 --- a/python/problems/lists_and_for/substrings/en.py +++ b/python/problems/lists_and_for/substrings/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 223 name = 'Substrings' slug = 'Substrings' diff --git a/python/problems/lists_and_for/substrings/sl.py b/python/problems/lists_and_for/substrings/sl.py index 6bf56bf..8a70441 100644 --- a/python/problems/lists_and_for/substrings/sl.py +++ b/python/problems/lists_and_for/substrings/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/while_and_if/buy_five/common.py b/python/problems/while_and_if/buy_five/common.py index a96b2b0..0ec7238 100644 --- a/python/problems/while_and_if/buy_five/common.py +++ b/python/problems/while_and_if/buy_five/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/python/problems/while_and_if/buy_five/en.py b/python/problems/while_and_if/buy_five/en.py index 9ad1f06..dd0b237 100644 --- a/python/problems/while_and_if/buy_five/en.py +++ b/python/problems/while_and_if/buy_five/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Buy five' slug = 'Buy five' diff --git a/python/problems/while_and_if/buy_five/sl.py b/python/problems/while_and_if/buy_five/sl.py index 3dbc9d3..7653989 100644 --- a/python/problems/while_and_if/buy_five/sl.py +++ b/python/problems/while_and_if/buy_five/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/while_and_if/checking_account/common.py b/python/problems/while_and_if/checking_account/common.py index 002003f..178297f 100644 --- a/python/problems/while_and_if/checking_account/common.py +++ b/python/problems/while_and_if/checking_account/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/python/problems/while_and_if/checking_account/en.py b/python/problems/while_and_if/checking_account/en.py index 47633e8..b579672 100644 --- a/python/problems/while_and_if/checking_account/en.py +++ b/python/problems/while_and_if/checking_account/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 199 name = 'Checking account' slug = 'Checking account' diff --git a/python/problems/while_and_if/checking_account/sl.py b/python/problems/while_and_if/checking_account/sl.py index 86f973b..1f4be12 100644 --- a/python/problems/while_and_if/checking_account/sl.py +++ b/python/problems/while_and_if/checking_account/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/while_and_if/competition/common.py b/python/problems/while_and_if/competition/common.py index 8d2c098..2615fd5 100644 --- a/python/problems/while_and_if/competition/common.py +++ b/python/problems/while_and_if/competition/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/python/problems/while_and_if/competition/en.py b/python/problems/while_and_if/competition/en.py index 215665c..40b7e74 100644 --- a/python/problems/while_and_if/competition/en.py +++ b/python/problems/while_and_if/competition/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Competition' slug = 'Competition' diff --git a/python/problems/while_and_if/competition/sl.py b/python/problems/while_and_if/competition/sl.py index 195b51f..cae406a 100644 --- a/python/problems/while_and_if/competition/sl.py +++ b/python/problems/while_and_if/competition/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/while_and_if/consumers_anonymous/common.py b/python/problems/while_and_if/consumers_anonymous/common.py index 895d985..5428cd9 100644 --- a/python/problems/while_and_if/consumers_anonymous/common.py +++ b/python/problems/while_and_if/consumers_anonymous/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/python/problems/while_and_if/consumers_anonymous/en.py b/python/problems/while_and_if/consumers_anonymous/en.py index 9691ac2..49a42da 100644 --- a/python/problems/while_and_if/consumers_anonymous/en.py +++ b/python/problems/while_and_if/consumers_anonymous/en.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/while_and_if/consumers_anonymous/sl.py b/python/problems/while_and_if/consumers_anonymous/sl.py index 131a13b..b842dec 100644 --- a/python/problems/while_and_if/consumers_anonymous/sl.py +++ b/python/problems/while_and_if/consumers_anonymous/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/while_and_if/minimax/common.py b/python/problems/while_and_if/minimax/common.py index d853058..7e367c2 100644 --- a/python/problems/while_and_if/minimax/common.py +++ b/python/problems/while_and_if/minimax/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/python/problems/while_and_if/minimax/en.py b/python/problems/while_and_if/minimax/en.py index 2aee417..ee7e344 100644 --- a/python/problems/while_and_if/minimax/en.py +++ b/python/problems/while_and_if/minimax/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Minimax' slug = 'Minimax' diff --git a/python/problems/while_and_if/minimax/sl.py b/python/problems/while_and_if/minimax/sl.py index 0d934b8..071a8d5 100644 --- a/python/problems/while_and_if/minimax/sl.py +++ b/python/problems/while_and_if/minimax/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/problems/while_and_if/top_shop/common.py b/python/problems/while_and_if/top_shop/common.py index 02855ec..8edcb30 100644 --- a/python/problems/while_and_if/top_shop/common.py +++ b/python/problems/while_and_if/top_shop/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/python/problems/while_and_if/top_shop/en.py b/python/problems/while_and_if/top_shop/en.py index b8e5119..1538321 100644 --- a/python/problems/while_and_if/top_shop/en.py +++ b/python/problems/while_and_if/top_shop/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Top shop' slug = 'Top shop' diff --git a/python/problems/while_and_if/top_shop/sl.py b/python/problems/while_and_if/top_shop/sl.py index 334736c..70628f5 100644 --- a/python/problems/while_and_if/top_shop/sl.py +++ b/python/problems/while_and_if/top_shop/sl.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'sl') diff --git a/python/sl.py b/python/sl.py index e6fe50c..3b2e9d4 100644 --- a/python/sl.py +++ b/python/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Python' description = '''\ Naloge za |