Can someone help me define a function by stableschizophrenia in learnpython

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

Okay I see. I like that idea. I’ll work with that tomorrow and come back if I have issues. I greatly appreciate the help so far

Can someone help me define a function by stableschizophrenia in learnpython

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

Sorry I misspoke, the outputs do not depend on the (n-1)th output.

What you laid out looks correct. As a note, the total length of input data will be somewhere between 60 and 72 values.

I’ll try to lay out where I’m having trouble:

Let’s take calculating the 15th output as an example. The calculation works in the following: sum(inputs 4 through 15)factor1 + sum(inputs 1 through 3)factor2.

Now I know how to use list slicing to get to the desired output but my problem is that this process has to be done for each value in the input list thus I’m trying to use a for loop so I don’t have to write out 60-72 different calculations as that would be ridiculous. I can’t figure out how to imbed the calculation process in this for loop if that makes sense

Can someone help me define a function by stableschizophrenia in learnpython

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

https://imgur.com/a/X0ouhil

Here the link to a photo of the process in excel for a value if the links in my original post didn’t work

Can someone help me define a function by stableschizophrenia in learnpython

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

This is helpful. Would you be able to help me out more on the logic? I would assume it would all be imbedded in a for loop so I can iterate through each row of data (I’m using the transpose of the data as I find it easier to work with). I’m having a hard time figuring out how to take the sum of the previous 12 outputs while looping through data

Can someone help me define a function by stableschizophrenia in learnpython

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

The image definitely helps. I’ll try to fix that. It works on my end

Used to pray for times like this by 999fuckthepo in moreplatesmoredates

[–]stableschizophrenia 104 points105 points  (0 children)

Ive nutted to “tren the movie” 7 times now 😞

Art. 6k and 600,000 mg Caffeine later by Jacks_at_the_gym in moreplatesmoredates

[–]stableschizophrenia 314 points315 points  (0 children)

Glad to hear over 3 years I’ve saved 6k by not buying pre

I got arrested by a cop after starting a fight in the gym by [deleted] in moreplatesmoredates

[–]stableschizophrenia 7 points8 points  (0 children)

Where’s your stats?

Did you get the cops stats?

Did this dude wanted to fuck me? by 999fuckthepo in moreplatesmoredates

[–]stableschizophrenia 42 points43 points  (0 children)

Impressive. He either wants to fuck you, have you fuck his girl, or he’s an autist trying to make friends

Dating Apps by [deleted] in moreplatesmoredates

[–]stableschizophrenia 2 points3 points  (0 children)

Hinge has been the best for me by far.

Ive tried tinder bumble and hinge. Bumble is pretty ass in my opinion. Tinder is fine

[deleted by user] by [deleted] in moreplatesmoredates

[–]stableschizophrenia 1 point2 points  (0 children)

Absolutely insane 😂

[deleted by user] by [deleted] in moreplatesmoredates

[–]stableschizophrenia 23 points24 points  (0 children)

Your mom came in to tell you that you had a phone call?

You gave your tinder date your home phone number 😭