Help me with my python homework?

Deleted member 8244

Deleted member 8244

white/ 6'0/🇺🇸
Joined
Jul 7, 2020
Posts
10,229
Reputation
10,148
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

Big Boss
Replies
16
Views
134
MelonHumper14
MelonHumper14
blesso
Replies
1
Views
44
blesso
blesso
hitmancrewzz
Serious help me
Replies
17
Views
80
MelonHumper14
MelonHumper14
Big Boss
Replies
4
Views
53
donald joe
donald joe
T-bone123
Replies
24
Views
124
jotunnr
jotunnr

Users who are viewing this thread

Back
Top
Sponsored
Stake.us
America's #1 Social Casino
Slots, Poker & More
Join Now →