We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 716a8eb commit 7800236Copy full SHA for 7800236
Ques7.py
@@ -0,0 +1,3 @@
1
+#Convert decimal to binary
2
+number = int(input('Enter a number: '))
3
+print(bin(number)[2:])
0 commit comments