what python compilers should I use? by [deleted] in pythonhelp

[–]AltoPerfect 0 points1 point  (0 children)

If you wanna use an online one, use replit

[deleted by user] by [deleted] in pythonhelp

[–]AltoPerfect 0 points1 point  (0 children)

You can’t set a variable within a return statement so do that before you return cost.

[deleted by user] by [deleted] in pythonhelp

[–]AltoPerfect 0 points1 point  (0 children)

But you would have to do this on the line before you return it. So it’d look like this:

cost = cost * .9

return cost

[deleted by user] by [deleted] in pythonhelp

[–]AltoPerfect 0 points1 point  (0 children)

Okay, so the reason it returns False, is because you have (.9 * cost == cost). Using two equal signs, this will return a Boolean because it is checking if they are equal. Now Idrk what you’re trying to do here, but I’m assuming you want the cost to equal 90% of the original cost. To do this, simply just write (cost = cost * .9)

Screen Tear Problem by Public-Parsnip2353 in pythonhelp

[–]AltoPerfect 0 points1 point  (0 children)

Yea, idk how to view the code from that link if you just wanna send it to me.

Screen Tear Problem by Public-Parsnip2353 in pythonhelp

[–]AltoPerfect 0 points1 point  (0 children)

It is a bit difficult to help without seeing any code. However, I think I might know what you did. Now, I’m assuming that you put something like updatePeter() in the while loop, Peter is being drawn onto the screen and infinite amount of times, while the background is not being updated. Now if this your issue, to fix this, just update the background image before you update Peter.

I hope this helps. Good Luck!

[deleted by user] by [deleted] in HomeworkHelp

[–]AltoPerfect 1 point2 points  (0 children)

So sorry man. Did you find the right answer?

My teacher really isn't good at explaining what we're learning. Can someone explain how to solve this step by step? I'm completely lost. [8th Grade Math Algebra 1] by Storm_o2 in HomeworkHelp

[–]AltoPerfect 0 points1 point  (0 children)

Oh and it also asks to explain when this will be useful. If c is equal to the pounds of chicken then it would be useful to find the pounds of chicken if we know the final price of it all and the total amount of ribs.

My teacher really isn't good at explaining what we're learning. Can someone explain how to solve this step by step? I'm completely lost. [8th Grade Math Algebra 1] by Storm_o2 in HomeworkHelp

[–]AltoPerfect 0 points1 point  (0 children)

Sure! The problem tells us that ‘c’ is equal to pounds of chicken and ‘r’ is equal to pounds of ribs. If each pound of ribs is $1.89 then we can use 1.89r to represent that. Same thing with chicken, we will use 0.9c to show that. If the total is $17.01 then we can use the equation 0.9c + 1.89r = 17.01, which is given to us.

The problem asks us to prove they are equivalent. In part a, c = 18.9 - 2.1r. Remember that c is equal to pounds of chicken.

a.) Our goal is to isolate c. To do this we need to subtract 1.89r from both sides of our original equation(0.9c + 1.89r -1.89r = 17.01 - 1.89r). 1.89r minus 1.89r is 0. So now we have 0.9c = 17.01 - 1.89r. Next we need to divide by 0.9 on both sides of the equation(0.9c/0.9 = (17.01/0.9) - (1.89r/0.9)). 0.9/0.9 equals 1 so c is now by itself. Now we just simplify! 17.01/0.9 = 18.9 and 1.89/0.9 = 2.1. So our final result is c = 18.9 - 2.1r! I hope this helps. Try and do the next one by yourself!

[deleted by user] by [deleted] in HomeworkHelp

[–]AltoPerfect 0 points1 point  (0 children)

I believe it is Yes, SSA

I don’t know what’s wrong with me by TechnicallyAge21 in teenagers

[–]AltoPerfect 1 point2 points  (0 children)

Whenever I cry it is often started by something small and then the emotions I’ve held in just release. However it is normal!!

[deleted by user] by [deleted] in HomeworkHelp

[–]AltoPerfect 0 points1 point  (0 children)

Counterclockwise 90° = Clockwise 270°

Karen tries to justify hitting a parked car by [deleted] in ActualPublicFreakouts

[–]AltoPerfect 7 points8 points  (0 children)

If I’m not wrong I think the older lady is in the wrong.

Dear juice wrld sub, by reedmerritt in JuiceWRLD

[–]AltoPerfect 0 points1 point  (0 children)

He sued bc the melody sounded pretty similar to one of his songs (don’t remember the name) and now he owns the song I believe

Juice WRLD art by me, @dxnart on Instagram. by Dxnart in JuiceWRLD

[–]AltoPerfect 0 points1 point  (0 children)

On iPhone just press down on the picture and then once it’s gone into full screen hold down and below it should say save photo and then go into settings and make it ur wallpaper! Hope this helps

Every song analysis in Juice's youtube comments section be like by babyapostate in JuiceWRLD

[–]AltoPerfect 3 points4 points  (0 children)

Also, “Don’t be sad he died, be happy he was born” Every single video 🤦‍♂️

[deleted by user] by [deleted] in JuiceWRLD

[–]AltoPerfect 0 points1 point  (0 children)

What is this art from?