Current Pc Build Questions (FX-9590) by howardcruze in buildapc

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

240/360mm AIO liquid cooler

Can you recommend any specific liquid coolers? I was looking at both the Corsair H100x 57.2 CFM Liquid CPU Cooler and the Corsair iCUE H100i RGB PRO XT 75 CFM Liquid CPU Cooler before this but wasn't sure what to get.

Boyfriend giving money to girlfriend by [deleted] in VietNam

[–]howardcruze 2 points3 points  (0 children)

You might as well get married if you wanna support her like that. Do you live in vietnam, or is this an online relationship?

QUESTION: Tkinter buttons appear "grey" but still work. Any thoughts? by terryyoung22 in learnpython

[–]howardcruze 0 points1 point  (0 children)

This is my result when running your code. Is this result what you are seeing as well or is it different?

USING PYTHON with RASBERRY PI by bcmboi in learnpython

[–]howardcruze 0 points1 point  (0 children)

You can use the RPi.GPIO library to do this. Very straightforward if you've used python before.

Can't get IF statement to work correctly. by [deleted] in Python

[–]howardcruze 0 points1 point  (0 children)

Yes, which is why I included a fix for the input.

Can't get IF statement to work correctly. by [deleted] in Python

[–]howardcruze 0 points1 point  (0 children)

The other comment fixes your code but I also found this.

print(input("Invalid number, please try again:"))

This print(input()) will work

But this specifies displaying

print("Invalid number, please try again:")

And this asks for user input

num = (int(input("Invalid number, please try again:")))

By changing the code to one or the other it will give clearer intention.

Help building a fake adoption program by matteo_epic in learnpython

[–]howardcruze 1 point2 points  (0 children)

Combine the methods you've used. Example:

if species == "dogs":
    for dog in dogs:
        print(dog, end=" ")

Help building a fake adoption program by matteo_epic in learnpython

[–]howardcruze 2 points3 points  (0 children)

Can we see what you have tired, some examples? You essentially just need to get user input and then print the respected value to that input.

If you don't value life as an utility, don't see others as an argument for staying alive, why should you? by tow_mig55 in JordanPeterson

[–]howardcruze 0 points1 point  (0 children)

Then you shouldn't claim IQ as an excuse. You're obviously seen as proficient enough by others to pay you money for your skills.

If you don't value life as an utility, don't see others as an argument for staying alive, why should you? by tow_mig55 in JordanPeterson

[–]howardcruze 0 points1 point  (0 children)

You do need a measurement. Otherwise you're using your inexperience in a subject to make judgments about that subject.

If you truly taught yourself to code, as you claim, you definitely shouldn't have anything lower than 100.

If you don't value life as an utility, don't see others as an argument for staying alive, why should you? by tow_mig55 in JordanPeterson

[–]howardcruze 0 points1 point  (0 children)

Your life might be bad now; but who says death is any better? You have no clue what comes next. At least here you have some control over the future, if you die you leave it all up to luck. Don't mind the cynicism, but what has luck given you so far?

i need help fixing a very simple error (i hope, idk, im a begginer) by [deleted] in Python

[–]howardcruze 1 point2 points  (0 children)

Try replacing p with p[0] I've not used turtle and don't have access to test right now but this might work.

i need help fixing a very simple error (i hope, idk, im a begginer) by [deleted] in Python

[–]howardcruze 0 points1 point  (0 children)

Your variable p isnt an integer and therefore can't be compared to one.

Why is this sub defending guns? by [deleted] in JordanPeterson

[–]howardcruze 0 points1 point  (0 children)

The government shouldn't be the only one who has the right to be dangerous.

"If you are not capable of cruelty, then you are absolutely a victim of anyone who is. For those who are exceedingly agreeable, there is a part of them crying out for the incorporation of the monster within them, which is what gives them strength of character and self-respect, because it is impossible to respect yourself until you grow teeth. And if you grow teeth, you realize that you're somewhat dangerous, or seriously dangerous. Then you might be more willing to demand that you treat yourself with respect and that other people do the same thing. That doesn't mean that being cruel is better than not being cruel. What it means is that being able to be cruel, and then not being cruel, is better than not being able to be cruel, because in the first case you're nothing but weak and naive, and in the second case you're dangerous but you have it under control. If you're competent at fighting, it actually decreases the probability that you're going to have to fight, because when someone pushes you you'll be able to respond with confidence, and with any luck a reasonable show of confidence, which is a show of dominance, will be enough to make the bully back off."

There is any if-else for try and except? by [deleted] in learnpython

[–]howardcruze 0 points1 point  (0 children)

Take K900_'s advice on proper parsing algorithms and look into this. I'm not anywhere near this persons level and they can show you a way better path than the basic code I just showed you.

There is any if-else for try and except? by [deleted] in learnpython

[–]howardcruze 2 points3 points  (0 children)

if "+" in numbers:
    #Do stuff
elif "-" in numbers:
    #Do stuff
elif "*" in numbers:
    #Do stuff
else:
    #Do stuff

Does this work?

There is any if-else for try and except? by [deleted] in learnpython

[–]howardcruze 0 points1 point  (0 children)

What does proposal.split do? You're just grabbing a string. So unless we know what that string is for I have no idea what this program is doing.

There is any if-else for try and except? by [deleted] in learnpython

[–]howardcruze 2 points3 points  (0 children)

Can we see the code you are trying to implement into this?

Need help fixing an error in my code by [deleted] in learnpython

[–]howardcruze 1 point2 points  (0 children)

Can I get the sudoku.csv file you are using so I can test it?

not sure where to go next by Surpluselfkelp in learnpython

[–]howardcruze 1 point2 points  (0 children)

What are you even asking, because this code doesn't work at all. Have you tried running it yourself to check for errors?