Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python lists help
#2
It looks like you want
[[x[0], x[1]*42] for x in prairie_pirates if x[2] is True]
If so, you were really close.
Reply


Messages In This Thread
Python lists help - by abdullahali - Oct-08-2018, 11:12 PM
RE: Python lists help - by micseydel - Oct-08-2018, 11:52 PM
RE: Python lists help - by abdullahali - Oct-08-2018, 11:56 PM

Forum Jump:

User Panel Messages

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