Hello Saba, and welcome,
Saba, unfortunately your email is almost unreadable to me. To me, your
code looks like this:
On Fri, Apr 18, 2014 at 10:19:52PM +0100, Saba Usmani wrote:
> print "Welcome to the binary and decimal converter"loop = Truewhile
> loop: bord = raw_input("Enter b for binary
On 18/04/14 22:19, Saba Usmani wrote:
I am meant to design code for a program that converts from binary number
to decimal and vice versa.
First, you know that python includes functions for doing that already
right? So you are just doing this as a learning exercise?
while loop:
bord = r
Hi,
I am meant to design code for a program that converts from binary number to
decimal and vice versa.
This is what i have so far:
print "Welcome to the binary and decimal converter"loop = Truewhile loop:
bord = raw_input("Enter b for binary or d decimal or exit to exit")if bord
== "b":