Content
spinner.py main import random rewardprobs ‘Steam Deck’: 0.00001, ‘nothing’: 0.5, ‘next shower is warm’: 0.05, ’10 mins social media’: 0.1, ‘game of league’: 0.05, ‘eat takeout’: 0.05, ’10 mins of anything’: 0.05, ’10 mins of chess’: 0.05, ‘read an article’: 0.1, "two spins’: 0.04999, def spin(): def main(): spin result spin() print(spinresult) if (spinresult ! ‘nothing’): with open(‘rewards.txt’, ‘a’) as f: f.write (spin result ‘In’ ) if name I main main() ProdrammerHumor.io return random. choices(list (rewardprobs. keys()), list (rewardprobs. values ())) 01