Looking for reliable answers? Westonci.ca is the ultimate Q&A platform where experts share their knowledge on various topics. Get expert answers to your questions quickly and accurately from our dedicated community of professionals. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.
Sagot :
lst = [[6,-3,8,0,5,-1,2,-2],[-7,4,3,-5,8,9,1,6]]
neg_values = 0
for x in lst:
for y in x:
if y<0:
neg_values += 1
print(neg_values)
I wrote my code in python 3.8. I hope this helps
We hope this was helpful. Please come back whenever you need more information or answers to your queries. Thank you for choosing our platform. We're dedicated to providing the best answers for all your questions. Visit us again. Find reliable answers at Westonci.ca. Visit us again for the latest updates and expert advice.