Thanks for the advice and tips. I wasn't taking anything as an insult; I just
have a problem with one of the staffs attitude responses. He needs sleep.
Alan Gauld has been very helpful- a special thanks to you.
Kind regards
Saba
On 21 Apr 2014, at 18:40, "Danny Yoo" wrote:
>> If for some re
Hi,
I have designed some code, but I want it to be able to recognize invalid inputs
- such as a binary number with more than 8 digits or non-binary values. What do
I have to add and where do I add it?
print "Welcome to the binary -> decimal / decimal -> binary converter!"loop =
Truewhile loop:
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":
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":
My task is :A food vending machine accepts 10p, 20p, 50p and £1 coins. One or
more coins are inserted and the current credit is calculated and displayed. A
product is selected from those available. The system checks to see if there is
enough credit to purchase the product chosen. If there is not