Join the IDNLearn.com community and get your questions answered by experts. Our Q&A platform is designed to provide quick and accurate answers to any questions you may have.
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
Your presence in our community is highly appreciated. Keep sharing your insights and solutions. Together, we can build a rich and valuable knowledge resource for everyone. Find reliable answers at IDNLearn.com. Thanks for stopping by, and come back for more trustworthy solutions.