It's a male.
Male livebearers (guppies, mollies, swordtails & platies) have a long straight anal (bottom) fin called a gonopodium.
Female livebearers have a fan or triangular shaped anal fin.
Young males have a fan or triangular shaped anal fin too but as they become sexually mature it changes into the gonopodium.