Hi

Can I get some assistance with the following

Code:

Letter = raw_input("Enter Letter")
A = 7
B = 8
C = 9
print Letter

I have left the basic info but if the Letter A is entered in the print Letter it results A, I want it to give the result 7

Jezza

Worked it out with a dictionary

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.