How to write and test a python program...?

  • Thread starter Thread starter slaterseamus
  • Start date Start date
S

slaterseamus

Guest
...that reads a sequence of numbers from user input and is to output:
the count of the number of numbers entered.
the average of the numbers.
the minimum number.
the location (1 ... n) in the sequence where the minimum number occurred.
the maximum number.
the location where the maximum number occurred.
the count of the number of even numbers. (num%2 == 0)
the count of the number of odd numbers. (num%2 == 1)
 
Back
Top