Mar-12-2017, 10:24 PM
So I have imported a csv list of superhero names, gender, eye color, hair color, and so on.
I ask the user to input their gender, eye color, and hair color.
After inputting each, they receive three messages.
Example:
Number of male characters: 11638
Number of characters with green eyes: 613
Number of characters with brown hair: 2339
How could I then take these three inputs and determine how many characters fulfill all three of the user inputs?
I ask the user to input their gender, eye color, and hair color.
After inputting each, they receive three messages.
Example:
Number of male characters: 11638
Number of characters with green eyes: 613
Number of characters with brown hair: 2339
How could I then take these three inputs and determine how many characters fulfill all three of the user inputs?