Question: is gomme masculine or feminine?
Answer: Hard to say indeed why a biro is masculine (un stylo) while an eraser is feminine (une gomme). A general rule could be that nouns ending in “-e” tend to be feminine.