from ase import Atoms a = Atoms() # empty a.extend(Atoms('Xe10')) # add 10 Xe atoms a.append('H') # append hydrogen atom print(a[0]) # first atom print(a[1]) # second atom del a[-3:] # delete three last atoms