Python Program to Count Positive and Negative Numbers in Set

Write a Python Program to Count Positive and Negative Numbers in Set. The for loop (for eoVal in pongtSet) iterates all the set items. And the if condition (if(eoVal >= 0)) checks whether the Set item is greater than or equals to zero. If True, we add one to the Positive Set count; otherwise, add … Read more