Abstract: In this communication, first we generalized Shannon inequality and then given its application in coding theory. In the end, lower and upper bounds are derived for the new mean codeword length in terms of generalized entropy of order α and type β.