We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cac0c7 commit 085898dCopy full SHA for 085898d
Basic/deciconversion.py
@@ -0,0 +1,9 @@
1
+# * Written By Codezila.org at 26-03-2020 01:05PM (IST)
2
+#Program for print decimal into binary ,octal and hexadecimal numbers...
3
+decimal=255
4
+
5
+print("The decimal value of", decimal, "is :")
6
+print(bin(decimal),"in binary") #binary conversion.
7
+print(oct(decimal),"in octal") #octal conversion.
8
+print(hex(decimal),"in hexadecimal") #hexadecimal conversion.
9
+print('\n\tCode By codezila.org :)\n\tJoin Us On : <github.com/codezila-org>\n\tFor More Mail Us : <contact@codezila.org>')
0 commit comments