#write a program that first reads the number of items in the store #then reads price for each item #all prices are stored in the list called prices #the program finds and prints the number of items that cost 100 dollars and #below and the number of items that cost above 100 dollars #challenge: find highest price and lowest price without using build-in function #max and min def main(): prices=[] num_items=int(input("enter number of items in the store ")) #make list for i in range(num_items): item=float(input("enter price ")) prices.append(item) print("prices are", prices) #counting prices above and below 100 c_above100=0 c_100_below=0 for i in range(num_items): if(prices[i]<=100): c_100_below=c_100_below+1 else: c_above100=c_above100+1 print("above 100", c_above100) print("below 100 or 100", c_100_below) #finding highest and lowest prices high=prices[0] low=prices[0] for i in range(1, num_items): if(prices[i]>high): high=prices[i] if(prices[i]