Rational means it can be expressed as fractions with integer numerator and denominator.
Integer means counting number, zero, and negative of counting number.
Whole number is just counting number.
So π is not rational, so π cannot be integer thus it also cannot be whole number
Therefore π is irrational.