Предизвикателства > Хазарт > Решения > Решението на Илиан Запрянов

Резултати
0 точки от тестове
0 точки от учител

0 точки общо

0 успешни теста
0 неуспешни теста
Код
Скрий всички коментари

 1from info import POSITION
 2X = POSITION
 3
 4# import unittest 
 5
 6# def test_zdrasti(self):
 7#     self.assertTrue(True)
 8
 9# unittest.TestCase.test_luck = test_zdrasti
10        

cannot import name 'Х' from 'solution' (/tmp/solution.py)
File "/tmp/test_runner.py", line 75, in main
loaded_test = importlib.import_module('test', test_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/tmp/test.py", line 3, in <module>
from solution import Х

Дискусия
История

f1from info import POSITIONf1from info import POSITION
2X = POSITION2X = POSITION
tt3 
4# import unittest 
5 
6# def test_zdrasti(self):
7#     self.assertTrue(True)
8 
9# unittest.TestCase.test_luck = test_zdrasti
10        
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

t1print(e3)t1from info import POSITION
2X = POSITION
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

t1print(e3)t1print(e3)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op