Print The Negative Numbers In A List | Python Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024
  • How to print the negative numbers in a list using Python. Source code: github.com/por.... Check out www.portfolioc... to build a portfolio that will impress employers!

ความคิดเห็น • 1

  • @kamurashev
    @kamurashev หลายเดือนก่อน +1

    print([i for i in number_list if i < 0])