#๐Ÿ”’ Can't figure out what Im doing wrong

19 messages ยท Page 1 of 1 (latest)

neon flower
#

Trying to set up this math equation but its not working correctly

limpid schoonerBOT
#

@neon flower

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

alpine shell
neon flower
#

sorry was working on it

#

I put my code in as d = math.pow(3, b/c)

alpine shell
#

you have the equation flipped

#

it should be pow(b/c, 3)

neon flower
#

stop it

#

DAMMIT

alpine shell
#

you can also just use ** instead of math.pow

#

(b/c) ** 3

neon flower
#

Holy Im dumb

#

Thanks sorry for wasting your time

alpine shell
#

no need to apologize!

#

if that's all, you can close this thread with !close

neon flower
#

!close

limpid schoonerBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.