Python Forum
Trouble Setting a Variable True basing on an Imput
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble Setting a Variable True basing on an Imput
#6
(Aug-02-2019, 05:07 PM)ichabod801 Wrote:
(Aug-02-2019, 03:27 PM)VictorVictus Wrote: What I want to do is to make the program check a list with names, and if it shows up in one of the lists automatically check the name as male or female

I'm still confused. You want to check "a list", and then if it shows up "in one of the lists" do something. Is it one list or multiple lists? And what do you mean by "check the name male or female"? The name in the list, or the name the user gave you?

Can you give me a small example of the lists you are talking about?

thanks for your help, doubt has been solved already, still I thank you! I intended to make two lists of names and if they coincided with the imput they would be classified as either male or female.
Reply


Messages In This Thread
RE: Trouble Setting a Variable True basing on an Imput - by VictorVictus - Aug-02-2019, 08:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble with threading and reading variable from a different script Lembas 14 3,116 Apr-26-2023, 11:21 PM
Last Post: Lembas
  Returning True or False vs. True or None trevorkavanaugh 6 9,304 Apr-04-2019, 08:42 AM
Last Post: DeaD_EyE
  setting pythonpath variable in environment variables saisankalpj 3 3,504 Dec-05-2018, 10:33 PM
Last Post: Gribouillis
  Having trouble defining variable tannishpage 6 5,651 Mar-23-2017, 01:04 PM
Last Post: Ofnuts
  How to turn variable true and false using function? hsunteik 5 6,530 Feb-20-2017, 11:44 AM
Last Post: hsunteik

Forum Jump:

User Panel Messages

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