idk what i am doing wrong
#This is just a greeting
print("Hello Welcome to ACME GRocery Store ")
#input to get the weight of packages
#Example 10, 20, 38, 49, 18, 29, 10, 39
weight= input("Please enter the weight's of all packages with commas in between: ").split(",")
weight.sort()
small = range(0, 5) from weight
medium = range(6, 10) from weight
large = range (11, 25) from weight
extra_large = range(26, 9999999999) from weight
print ("Amount of packages submitted = ", len(weight))
print ("Amount of small packages submitted = ", len(small))
print ("Amount of medium packages submitted = ", len(medium))
print ("Amount of large packages submitted = ", len(large))
print ("Amount of extra large packages submitted = ", len(extra_large))`
i am trying to get the diffrent weight and how many times they were mentioned so lets say 2 small