data storage value check between values

I have a function that gives a random value between 1-100 execute store result storage anime_loot:values rand int 1 run random value 1..100 currently i just check the individual value and give item. so for instance execute if data storage anime_loot:values {rand: 1 } run give @s minecraft:diamond 1 execute if data storage anime_loot:values {rand :2 } run give @s minecraft:diamond 1 execute if data storage anime_loot:values {rand: 3 } run give @s minecraft:diamond 1 execute if data storage anime_loot:values {rand: 4 } run give @s minecraft:diamond 1 execute if data storage anime_loot:values {rand: 5 } run give @s minecraft:diamond 1 execute if data storage anime_loot:values {rand: 6 } run give @s minecraft:coal 1 execute if data storage anime_loot:values {rand: 7 } run give @s minecraft:coal 1 ... is there a way to just have 'if value between 1-5 do x? execute if data storage anime_loot:values {rand: 1..5 } run give @s minecraft:diamond 1
Continue to help post