1

I have this code here. equation = "4x+7" And I would like to make the 4 and 7 into integers and define x as an integer so I can work out y for the equation. Any easy solutions?

1

1 Answer 1

0
number1 = 4
number2 = 7
x = 1

Then use it:

number1 * x + number2
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.