hello guys i'm trying to solve a simple python problem there is something wrong with it please help me out to find out : #problem=A soccer team is looking for girls from ages 10 to 12 to play on their team. Write a program to ask the user’s age and whether the user is male or female (using “m” or “f”). Display a message indicating whether the person is eligible to play on the team. but Make the program so that it doesn’t ask for the age unless the user is a girl.
#here is my code

    
   

    name=raw_input("Enter ur name ")
    gender=raw_input("Enter ur gender ")
    if gender=="f":
        age=float(raw_input("enter ur age "))
    if 10<= age <=12:
        print "ur eligible"
    elif gender=="m":
         print "male not allowed"
    else :
        print "ur not eligible"

