diff options
Diffstat (limited to 'progs/a462.py')
-rw-r--r-- | progs/a462.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/a462.py b/progs/a462.py new file mode 100644 index 0000000..6cdb173 --- /dev/null +++ b/progs/a462.py @@ -0,0 +1,2 @@ +def decimal_to_binary(n):
+ return bin(n).replace("0b","")
\ No newline at end of file |