Skip a letter in dictionary
<p>I need to assign the uppercase to numbers in a dictionary but with one letter S not there.</p>

<p>ie.</p>

<p>in this <code>alphadict = dict((x, i) for i, x in enumerate(string.ascii_uppercase))</code> I have currently all the alphabets of the dictionary. </p>

<p>What is the simplest way to delete the entry for S and shift rest of the values to the left.</p>

<p>If there is some other way to create this dictionary do tell.....</p>

<hr>

<p>I am also in need of this..... Now I get a number from user..... This number in the dictionary should be assigned S and all the other dictionary items can be readjusted....</p>

<p>ie say the user gives me 3 the dictionary should look like</p>

<p>0- A
1- B
2- C
3- S
and rest follow from D to Z without S.......</p>

<p>Please help..... Thanks a lot....</p>
