Print The Negative Numbers In A List | Python Example

Sdílet
Vložit
  • čas přidán 7. 09. 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!

Komentáře • 1

  • @kamurashev
    @kamurashev Před měsícem +1

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