Write a python program to print negative Numbers in a List


Topic: Write a python program to print negative Numbers in a List

Solution

  
list1 = [11, -21, 0, 45, 66, -93] 
  
for num in list1: 
      
    if num < 0: 
       print(num, end = " ")



List all Python Programs