﻿from sympy import *

x=symbols('x')
expand((3x-5)**4)