summaryrefslogtreecommitdiff
path: root/progs/a505.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a505.py')
-rw-r--r--progs/a505.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a505.py b/progs/a505.py
new file mode 100644
index 0000000..60cf63e
--- /dev/null
+++ b/progs/a505.py
@@ -0,0 +1,3 @@
+def count_samepair(list1,list2,list3):
+ result = sum(m == n == o for m, n, o in zip(list1,list2,list3))
+ return result \ No newline at end of file