Python Forum
Intro python using lists
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Intro python using lists
#3
Line 16 is close but needs a fix. A list comprehension on the order of
no_foul = [x for x in animals if x (you choose the words) bird]
print(no_foul)
Reply


Messages In This Thread
Intro python using lists - by Rustypotatoes - Sep-17-2020, 07:31 PM
RE: Intro python using lists - by Daring_T - Sep-17-2020, 08:09 PM
RE: Intro python using lists - by jefsummers - Sep-17-2020, 08:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Star Interesting Intro to python problem I can't solve. Honestworker 5 12,587 Mar-04-2021, 02:05 AM
Last Post: BashBedlam
  Intro to Python for Data Science with Datacamp Sabrusura 4 3,750 Aug-21-2018, 09:03 AM
Last Post: Sabrusura

Forum Jump:

User Panel Messages

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