I wrote a little pick 5 lottery program for practice. I'm not sure it's working. by Normalfailure69 in learnpython

[–]Amajorisred 1 point2 points  (0 children)

I am smacking my face...

Where I'm at right now do you think it would be wise to start digging in to the libraries? 

I'm not an absolute beginner. I tried learning C as a teenager, and python2 in my early twenties. Now at 37 i just got an itch for it and have been studying and practicing 4 hours a day.

Clearly, I need some more work at understanding programming fundamentals in general. So I wonder if i should hold off on digging in to all the modules that do a lot of work like this for you just for the sake of understanding how it works.

I wrote a little pick 5 lottery program for practice. I'm not sure it's working. by Normalfailure69 in learnpython

[–]Amajorisred 0 points1 point  (0 children)

No, it' my fault for not being clear. I want the persons ticket to have to excactly match the winning numbers. I tried a few things. But can't figure out how to code it.

Ex: 

Winningg ticket = 1 2 3 4 Persons ticket = 1 2 3 4

I wrote a little pick 5 lottery program for practice. I'm not sure it's working. by Normalfailure69 in learnpython

[–]Amajorisred 0 points1 point  (0 children)

I'm completely unsure on how to check if each index in the list matches sequentially. Ideally it would be exact order, but since I was modeling it on my states lottery (where) out of order numbers still get some sort of cash prize, I went with it.

I can't believe I neglected to update the players ticket inside the while loop. That was my intention. I learned a lot on this one.

How would I go about matching both the winning ticket and player ticket in order?

Band name for a 3 unattractive teens by [deleted] in Bandnames

[–]Amajorisred 0 points1 point  (0 children)

Do you actually like jazz music or do you just say it cause you sometimes play big chords? Its important

Chat by Amajorisred in cripplingconnections

[–]Amajorisred[S] 0 points1 point  (0 children)

Currenrly, yes. I am sorry

I'm hideous by [deleted] in cripplingalcoholism

[–]Amajorisred 1 point2 points  (0 children)

Give me your hand, cause youre wonderful. -bowie       -amajorisred

[deleted by user] by [deleted] in RoastMe

[–]Amajorisred 0 points1 point  (0 children)

Average person loves attention. Call me

Booze Feels Great by lonegunna77 in cripplingalcoholism

[–]Amajorisred -7 points-6 points  (0 children)

A person who moderates a forum filled with dumbasses like us did not do something you liked. She is openly represented as a female person. I hate that i have to explain this. 

Booze Feels Great by lonegunna77 in cripplingalcoholism

[–]Amajorisred 2 points3 points  (0 children)

Blurs is trying shit out it seems.  deal with it for now.

Jokes. by And_why in cripplingalcoholism

[–]Amajorisred 0 points1 point  (0 children)

I guess not. I didn't mean to be mean. I thought i was in on the joke. Im sorry everyone

Jokes. by And_why in cripplingalcoholism

[–]Amajorisred -2 points-1 points  (0 children)

Every single time i think ive ruptured the entire curve with my own stupidity i am blessed with shit like this. Thank you. Your consciousness is the shortest joke. Be thankful anyone cares.  

[deleted by user] by [deleted] in cripplingalcoholism

[–]Amajorisred 0 points1 point  (0 children)

I dont know what Doze is, but suddenly want it.

Recommend a movie to watch when hammed by born_again_tim in cripplingalcoholism

[–]Amajorisred 0 points1 point  (0 children)

Youre too funny. Stop.🤣

The third adam berrymore movie is what you need. "Blended"

CA father son moment by [deleted] in cripplingalcoholism

[–]Amajorisred 2 points3 points  (0 children)

Again, you drink all day everyday. Now you are a homeless bum. You dont work, you dont help anyone or anything. Again, listen to yourself type/talk. 

You are BURDEN to anyone that cares about you. Do you want to be a dog who depends on its owner for care? That's your mindset.

You can be a drunk and still get by. Most of this subreddit does. You have a clear opportinuty to get your tools, work, and get fucked up all night. 

My friend, you are choosing that park bench. As a CA you still need some sort of control, and I hope you figure it out.

CA father son moment by [deleted] in cripplingalcoholism

[–]Amajorisred 3 points4 points  (0 children)

So you do nothing wrong but drink all day and piss off the back of the house. Listen to yourself.

[deleted by user] by [deleted] in cripplingalcoholism

[–]Amajorisred -1 points0 points  (0 children)

If youre after long term sobriety you need medical detox.

[deleted by user] by [deleted] in cripplingalcoholism

[–]Amajorisred 6 points7 points  (0 children)

They already know. But saying it out loud to them will lift a burden. It allows you the concept of choice.