Share your repls and programming experiences

← Back to all posts
Python: Linear equation program
pole55 (199)

A program solves a linear equation ax = b in integers. Given two integers a and b. A program prints a single integer root if it exists and print "no solution" or "many solutions" otherwise.