Skip to content

Commit 085898d

Browse files
first commit
1 parent 8cac0c7 commit 085898d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Basic/deciconversion.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)