1000 Python Questions
Get 1 Python question daily. Join this telegram channel https://t.me/python1000questions
Advertise with us

Python Multiple Choice Questions
Write the list comprehension to pick out only negative integers from a given list 'l'.
A. [x<0 in l]
B. [x for x<0 in l]
C. [x in l for x<0]
D. [x for x in l if x<0]
Show Answer

Please subscribe to get the latest articles in your mailbox.

DigitalOcean Referral Badge

© 2021-2022 Python Circle   Contact   Sponsor   Archive   Sitemap