Question: Write a program to generate ten random integers between zero and a thousand, then display how many of them are odd and how many are
Write a program to generate ten random integers between zero and a thousand, then display how many of them are odd and how many are even; also display the average of: all numbers, odd numbers, and even numbers.
Step by Step Solution
3.35 Rating (155 Votes )
There are 3 Steps involved in it
Here is a Python program that satisfies the provided prompt python import random Variables to store ... View full answer
Get step-by-step solutions from verified subject matter experts
