Help me with my python homework?

Deleted member 8244

Deleted member 8244

white/ 6'0/🇺🇸
Joined
Jul 7, 2020
Posts
10,252
Reputation
10,123
my animal checker is broken, it keeps returning true

can someone help me with this?
Screen Shot 2021 09 09 at 103737 PM
 
I'm learning how to code
 
if anml in ["cat", "dog", "bird", "fish"]:
 
  • +1
  • Love it
Reactions: Hero of the Imperium, Deleted member 5189, Deleted member 8244 and 1 other person
  • +1
Reactions: StrangerDanger
you dont need if statements you could just return since it would be True if the animals is in the list

def anmlchkr(anml):
return anml in ["cat", "dog", "bird", "fish"]
 
  • +1
Reactions: Hero of the Imperium and Deleted member 8244
I'm majoring in computer science, I think it'll be good for employment and my interests :)
also knew u were indian (med) like @StrangerDanger
 
  • JFL
Reactions: Deleted member 8244 and StrangerDanger
you dont need if statements you could just return since it would be True if the animals is in the list

def anmlchkr(anml):
return anml in ["cat", "dog", "bird", "fish"]
syntax error if i remove "if" hmmm
 
  • +1
Reactions: StrangerDanger
Did you just start GCSE computer science?
 
  • +1
Reactions: Deleted member 8244
  • +1
Reactions: Deleted member 8244
Not sure what that is, but I'm majoring in computer science at my college (in usa)
Did you not do computer science in school? (High school)
 
  • +1
Reactions: Deleted member 8244
  • +1
Reactions: Deleted member 8244
So looksmax.org has come to this where inkwells need help with their homework :feelshah:
I know what I have to looksmax, and there are smart people here so I decided to use this resource, and learned something new!:)
 
  • +1
Reactions: Hero of the Imperium and owlofathena
I know what I have to looksmax, and there are smart people here so I decided to use this resource, and learned something new!:)
Are you in East coast America? Am from Glasgow Scotland
 
  • +1
Reactions: Deleted member 8244
  • +1
Reactions: owlofathena
yessir, not on the coast, but in the upper east part
New York am guessing you Irish by any chance lol or English lol? Talking surname wise
 
  • +1
Reactions: Deleted member 8244
  • +1
Reactions: owlofathena
New York am guessing you Irish by any chance lol or English lol? Talking surname wise
alot of my family tree is actually in america from the 1700s, but further back you can see immigration.

can ancestry give me a percentage of what european countries I have in my dna so I can determine my pheno?
 
  • +1
Reactions: owlofathena
alot of my family tree is actually in america from the 1700s, but further back you can see immigration.

can ancestry give me a percentage of what european countries I have in my dna so I can determine my pheno?
my most recent foriegn ancestor was my great grandpas mother, who immigrated from denmark as a child

@Austrian Oak
 
  • +1
Reactions: owlofathena
I'll make a pie chart!
 
my most recent foriegn ancestor was my great grandpas mother, who immigrated from denmark as a child

@Austrian Oak
I mean most likely you have English Irish, Danish and German ancestry
 
  • +1
Reactions: Deleted member 8244
I mean most likely you have English Irish, Danish and German ancestry
yes this is accurate, so im kinda mixed i guess, I have light brown hair (used to be blonde as young kid), hazel eyes, my skin is kinda tan, my chin is not tall. and I have a wide Jaw, but my under eye support is not the best, so probably a mix of mostly nordic with some med
 
  • +1
Reactions: owlofathena

Similar threads

wsada
Replies
13
Views
124
org3cel.RR
org3cel.RR
Funnyunenjoyer1
Replies
0
Views
43
Funnyunenjoyer1
Funnyunenjoyer1
user123456
Replies
0
Views
61
user123456
user123456
dreadheadphar
Replies
13
Views
107
dreadheadphar
dreadheadphar
RICHCELDOM
Replies
19
Views
305
cucklord70
C

Users who are viewing this thread

Back
Top