summaryrefslogtreecommitdiff
path: root/python-func/task8.py
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-04-04 21:45:11 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-04-04 21:45:11 +0400
commitf534258a4428319e1033dbc4c0afaf29b8fd9b05 (patch)
treedfcc9eb30d66fa7d415fa27ad44d40a1615b76b1 /python-func/task8.py
parente9208ade043f2304225d1e1150f57fa31aa49c28 (diff)
Переопределил оператор __eq__ в классе Point
Diffstat (limited to 'python-func/task8.py')
-rw-r--r--python-func/task8.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python-func/task8.py b/python-func/task8.py
index 923d598..345496f 100644
--- a/python-func/task8.py
+++ b/python-func/task8.py
@@ -1,6 +1,7 @@
def digit_sum(n: int) -> int:
return sum(map(int, str(n)))
+
print("Счастливые билеты:")
for i in range(100, 1000):
for j in range(100, 1000):