At Westonci.ca, we connect you with the best answers from a community of experienced and knowledgeable individuals. Discover reliable solutions to your questions from a wide network of experts on our comprehensive Q&A platform. Our platform provides a seamless experience for finding reliable answers from a network of experienced 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
Thanks for using our service. We aim to provide the most accurate answers for all your queries. Visit us again for more insights. Thank you for your visit. We're committed to providing you with the best information available. Return anytime for more. Keep exploring Westonci.ca for more insightful answers to your questions. We're here to help.