# SimplicityFORUMS # Terpy Gold Donator

11

## Community Reputation

6 Fair ## Recent Profile Visitors

169 profile views
• ### Ntho Skiller💛

1. ## [10.05.2021] Solak Event Boss, Overlord Set, Last Man Standing, CoX & ToB Drop-table Improvements, Bug Fixes & More!

you fixed angelics and didnt tell me! good stuff tho!
2. as the function stands the way I wrote it; it assumes the default avg thc content by weight of your first strain is 20% or 0.2, next for my intended use it assumes the second strain is a cbd strain and under .3% thc or 0.003. the function is as follows mathematically: {b1*(g)+b2*(h)} / { g+h } in python: ############################################################################################################### '''thc calculator by weight {b1*(g)+b2*(h)} / { g+h }''' ############################################################################################################### def avgTHC(thcBud=0.2,cbdBud=0.003,thcWeight=0.5,cbdWeight=0.5) : calc = ((thcBud*(thcWeight) + cbdBud*(cbdWeight)) / (thcWeight + cbdWeight)) precent = str(int(round(calc,2) * 100)) + '%' print('thc content: ', ('THC bud= ' + str(thcBud)), ('CBD bud= ' + str(cbdBud)) + '\n' + 'bud weight: ', ('THC bud= ' + str(thcWeight)), ('CBD bud= ' + str(cbdWeight)) + '\n' + 'avg THC content: ' + precent) the return format from the print statement looks like: to use in a script avgTHC(thcBud=b1,cbdBud=b2,thcWeight=g,cbdWeight=h) where the b1,b2 ect. are your values
• 1
• 3. last post here unless you guys wanna see more but i did fine tuning and its much more coherent now:
• • 