Python Forum
Determine Number Fulfilling Three Inputs
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Determine Number Fulfilling Three Inputs
#1
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?
Reply


Messages In This Thread
Determine Number Fulfilling Three Inputs - by kython - Mar-12-2017, 10:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Determine if string is integer jrodencal 12 4,155 Oct-15-2019, 01:39 PM
Last Post: jefsummers
  Determine if a list contains a specific number of an item flannel_man 3 4,934 Nov-12-2016, 04:46 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020