Cracking the Coding Interview 6th Ed. Solutions
11.29k
stars
4.4k
forks
source link
from sympy import symbols, solve
# تعريف المتغيرات
x = symbols('x')
# المعادلة التي تريد حلها
equation = "2*x + 5 - 3*x = 10"
# حل المعادلة
solution = solve(equation)
# طباعة الحلول
print("الحلول:")
for sol in solution:
print(sol)
اين خطأ #254
Open
abdou111112221 opened 7 months ago