Answer- gen=input("Enter gender of human like male or female")
age=int(input("Enter Age"))
if(gen=="male"):
if(age>=21):
print("Hello Man, you are Eligible for Marriage ",age);
else:
print("Hello Man, Not Eligible for Marriage ",age);
else:
if(age>=18):
print("Hello Lady, you are Eligible for Marriage ",age);
else:
print("Hello Lady, Not Eligible for Marriage ",age);