In this case, any molecule or compound having strong intermolecular forces will affect its “ideality”. The stronger the IMF, the more the deviation in the KMT
If the same IMF: stronger IMF = larger molar mass
Analyzing each compound:
Which one of the following gases would deviate the least from ideal gas behavior?