68.9k views
4 votes
In python, sorry if it’s blurry

In python, sorry if it’s blurry-example-1
User Sontek
by
4.7k points

2 Answers

3 votes

Answer:

nice

Step-by-step explanation:

User Hemantvc
by
4.5k points
5 votes

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

User Priyesh Kumar
by
4.5k points