Write a Python program that generates a list with 10 randominteger numbers between 1 and 100. In this program, write afunction called count that accepts the list as anargument and returns the number of elements whichare less than 50.
==========================================
Sample Run:
The list is [2, 38, 100, 70, 31, 86, 51, 37, 71, 15]
The number of elements less than 50 = 5
没有找到相关结果