There is a lot of empty space between gas molecules. The molecules are very far apart, relative to their sizes, and they neither attract nor repel each other much. So distances between molecules aren't affected by the type of molecules in the sample.