Computer Science, asked by sitarastuti, 18 days ago

Write a python program to calculate total zeros, positive and negative in a given list.​

Answers

Answered by singhyakshit20
0

Answer:

Given a list of numbers, write a Python program to count positive and negative numbers in a List. Iterate each element in the list using for loop and check if num >= 0, the condition to check positive numbers. If the condition satisfies, then increase pos_count else increase neg_count.

Explanation:

Please mark me as brainliest

Similar questions