LotteryChecker/megamillions/winning_structure.py

18 lines
588 B
Python
Raw Permalink Normal View History

2022-01-06 01:59:44 +00:00
def get_winnings_mb(jackpot_cash):
return {
2: [10, 14, 20, 400, 20_000, jackpot_cash],
3: [15, 21, 30, 600, 30_000, jackpot_cash],
4: [20, 28, 40, 800, 40_000, jackpot_cash],
5: [25, 35, 50, 1_000, 50_000, jackpot_cash],
10: [50, 70, 100, 2_000, 100_000, jackpot_cash]
2022-01-06 01:59:44 +00:00
}
def get_winnings_no_mb():
return {
2: [0, 0, 0, 20, 1_000, 2_000_000],
3: [0, 0, 0, 30, 1_500, 3_000_000],
4: [0, 0, 0, 40, 2_000, 4_000_000],
5: [0, 0, 0, 50, 2_500, 5_000_000],
10: [0, 0, 0, 100, 5_000, 10_000_000]
}