Question: Comparing two lists

Given two lists say of same number of elements 

 

A = [1,0,3,4,5,5]

B=[0,1,2,6,3,6]

How to write a code find number of elements of A which are greater than the number of elements of B index wise in the above 1>0,3>2,5>3 so three elements. 

And also the number of elements of B greater than the number of elements A index wise

1>0,6>4,6>4.hence 3 elements

 

Index wise compared to note 

 

Kind help 

 

Please Wait...