summaryrefslogtreecommitdiff
path: root/progs/a857.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a857.py')
-rw-r--r--progs/a857.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a857.py b/progs/a857.py
new file mode 100644
index 0000000..39fba8c
--- /dev/null
+++ b/progs/a857.py
@@ -0,0 +1,3 @@
+def binary_to_integer(test_tup):
+ res = int("".join(str(ele) for ele in test_tup), 2)
+ return (str(res)) \ No newline at end of file