How can I solve a simple equation and implement it in python? say, the equation is (45+x)mod10 = 1 so I want the answer to be x=6. thanks
(45+x)mod10 = 1
x=6