Exception Index Error In Python Code Editor Atomic Number Definition