Values from Arduino Uno temperature and gas sensors

Welcome Hanan.

This discussion may help Hanan GAS SENSOR (my project is about gas sensor using arduino. but the problem is after i run the program it says "list index too large" so what should I do?) - #9 by Patryk_F

and

See Programming Your App to Make Decisions to learn how to handle conditional statements.