print ("Enter the number:")
n = int (input()
count = 0
for i in range (n):
x, y=list (map (int, input ().split()))
if x > 0 and y > 0:
count += 1
print('{:.6f}'.format (count , n))
Answers
Answered by
1
Explanation:
out put : Enter the number:
n = 1
x = 2 y = 3
count = 1.000000 n = 1.000000
Similar questions