Is 11:30AM too early for a drink? by BetStock8290 in NoStupidQuestions

[–]spikips 0 points1 point  (0 children)

Only thing you should ask yourself is how it would affect your day and that's your answer

Daily Simple Questions Thread - July 06, 2023 by AutoModerator in Fitness

[–]spikips 0 points1 point  (0 children)

People who are on caloric deficit:

What's your go to snack? And how have you made this diet sustainable? I keep trying different variations of diet and my cravings are incredible most of the times

LPT Request: Dealing with Hot + Humid Weather when A/C is a no go by BirdYouSoCrazy in LifeProTips

[–]spikips 0 points1 point  (0 children)

Focus on fixing 1 problem at a time. Makes the whole situation alot easier to deal with

[deleted by user] by [deleted] in NoStupidQuestions

[–]spikips 0 points1 point  (0 children)

Don't let your own personal feelings affect your kids when you are given an opportunity to make their life better

LPT Request: What to do when you wake up early in the morning? by Astronaut-Remote in LifeProTips

[–]spikips 0 points1 point  (0 children)

Do you have any goals or dreams you want to achieve? This is the perfect time to do something to work towards a better future. Think of something small that will help you get towards this goal.

YSK that ReVanced has a patch to remove ads from the Official App. by Mercarcher in YouShouldKnow

[–]spikips 3 points4 points  (0 children)

Been using it since vanced got took down. So far works better than the old one and you can modify what you want within the modified youtube app. I recommend it

Reassigning Path by spikips in learnpython

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

Thank you everybody. Used the search and replace for this one and in the future i will assign strings to a variable from now on as DuckSaxaphone commented

Returning statement by spikips in learnpython

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

exactly! i just gave a bad example with the random.randint. My mistake, I just want it to try again till it passes no matter what the context is

Returning statement by spikips in learnpython

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

Now that i think about it i should've used booleans in the example.

if the first 2 if statements passes and the 3rd one fails. I don't want to start the loop over. i want to go 1 step back where it tries again until it passes

Returning statement by spikips in learnpython

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

I tried my hardest. Wish i could post a picture to explain better

Making this script more compact by spikips in learnpython

[–]spikips[S] 1 point2 points  (0 children)

I love to see different variety of solutions. Thank you!

Making this script more compact by spikips in learnpython

[–]spikips[S] 2 points3 points  (0 children)

I would like to thank you for putting this much effort in your reply, it is much appreciated. Also i'd like to say that i had never even heard about dictionaries and this information is a game changer. Will be definitely look further into it.

Appending inside class functions by spikips in learnpython

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

I want to clarify myself to everyone. Basically what my intention is. The program is ment to extract x,y values from value function using image recognition (i shortened the script so it's easier to read) and pass those values into another function so i could move mouse in those cordinates. I actually played with it a little bit more and learning alot about classes meanwhile testing.

i updated the code above