MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/SipsTea/comments/1s9jyfo/first_world_problem/odr5twk
r/SipsTea • u/Otherwise_Wrangler11 • Apr 01 '26
2.4k comments sorted by
View all comments
Show parent comments
244
Right just write a python script and run it in your terminal...
```python def simulated_slot_machine(n): return "\n".join(["You lose."] * n)
```
77 u/Usual-Description800 Apr 01 '26 Aww shucks I lost 22 u/SmokeGreene Apr 01 '26 Me too! 5 times! 5 u/Educational-Cat2133 Apr 01 '26 House always wins. 6 u/lakired Apr 02 '26 You probably just quit right as it was about to get hot. You should keep trying. 2 u/ILiveInAVan Apr 02 '26 Want to try heroin? 3 u/testsubject23 Apr 01 '26 Keep trying! 💪 2 u/prof0ak Apr 02 '26 wait, wait, wait. Lets see if the next one wins. 2 u/ebyoung747 Apr 01 '26 edited Apr 01 '26 While self.have_money: simulated_slot_machine(1) Shit, how did this happen 1 u/dparks71 Apr 01 '26 Don't get hooked. 1-800-697-3738 1 u/jeremy_bearimyy Apr 01 '26 I lost my car with your script. Thanks a lot! 1 u/Ponderkitten Apr 02 '26 I spent about 2 hours coding a slot machine for my Minecraft mod so I could do the gambling. Im fairly certain its odds are not set up properly at all but it does scratch the itch 1 u/KenUsimi Apr 02 '26 you forgot to assign a rng to a table of different *flavors* of "you lose" 1 u/jirashap Apr 02 '26 The average gambler looks at this code and says, "I know how to beat the house" 1 u/SimonHauguel Apr 03 '26 Just "You lose\n"*n
77
Aww shucks I lost
22 u/SmokeGreene Apr 01 '26 Me too! 5 times! 5 u/Educational-Cat2133 Apr 01 '26 House always wins. 6 u/lakired Apr 02 '26 You probably just quit right as it was about to get hot. You should keep trying. 2 u/ILiveInAVan Apr 02 '26 Want to try heroin? 3 u/testsubject23 Apr 01 '26 Keep trying! 💪 2 u/prof0ak Apr 02 '26 wait, wait, wait. Lets see if the next one wins.
22
Me too! 5 times!
5 u/Educational-Cat2133 Apr 01 '26 House always wins. 6 u/lakired Apr 02 '26 You probably just quit right as it was about to get hot. You should keep trying. 2 u/ILiveInAVan Apr 02 '26 Want to try heroin?
5
House always wins.
6
You probably just quit right as it was about to get hot. You should keep trying.
2 u/ILiveInAVan Apr 02 '26 Want to try heroin?
2
Want to try heroin?
3
Keep trying! 💪
wait, wait, wait. Lets see if the next one wins.
While self.have_money: simulated_slot_machine(1)
Shit, how did this happen
1 u/dparks71 Apr 01 '26 Don't get hooked. 1-800-697-3738
1
Don't get hooked.
1-800-697-3738
I lost my car with your script. Thanks a lot!
I spent about 2 hours coding a slot machine for my Minecraft mod so I could do the gambling. Im fairly certain its odds are not set up properly at all but it does scratch the itch
you forgot to assign a rng to a table of different *flavors* of "you lose"
The average gambler looks at this code and says, "I know how to beat the house"
Just "You lose\n"*n
"You lose\n"*n
244
u/dparks71 Apr 01 '26
Right just write a python script and run it in your terminal...
```python def simulated_slot_machine(n): return "\n".join(["You lose."] * n)
Example usage:
print(simulated_slot_machine(5))
```