• + 0 comments
    def plusMinus(arr):
        # Write your code here
        total_count = len(arr)
        print(f'{sum([1 for x in arr if x > 0]) / total_count:.6f}')
        print(f'{sum([1 for x in arr if x < 0]) / total_count:.6f}')
        print(f'{sum([1 for x in arr if x == 0]) / total_count:.6f}')