My textbook says:
genes which code for a pair of contrasting traits are known as alleles.
Then that means T and t are alleles. Further, it says:
Mendel also proposed that in a true breeding, tall or dwarf pea variety the allelic pair of genes for height are identical or homozygous, TT and tt respectively.
This line confused me, it will be of great help if you can help me out.