#Write a program that reads first number of items user bought in the store and #then price for each item. Program finds the average price per item. USE LOOP #FOR size=int(input("enter number of items you bought the store ")) if(size>0): sum=0 #how many times we need to repeat the loop? size times for i in range(size): #i=0, 1, 2, ....size-1 - exactly size times print('enter price for customer', i+1) #you can use range(1, size+1) and use print(i) price=float(input('enter price ')) sum=sum+price print("average", sum/size) else: print("invalid input")