def win_percentage():
"""This functon asks the user for two ints . This will take two ints.
First amount is win, second is losses. It will calc the % of wins."""
print("This will take two ints. First amount of wins and then the losses.\nThen will return the % of same.")
wins = float(input("wins total "))
losses = float(input("losses total "))
total_per_cent_of_wins = wins / (wins+losses)*100
return(total_per_cent_of_wins)
#challenge if total_per_cent_of_wins then Y
#challenge make sure user only enters int! throw message accordingly
win_percentage()