Question: The following console program uses parameters and produces four lines of output. What are they? def axiom ( c , b , a ) :

The following console program uses parameters and produces four lines of output. What are they?
def axiom(c, b, a): print(a,"+", c,"=", b) return a + b def main(): a =5 b =1 c =3 three = a one = b +1 axiom(a, b, c) axiom(c, three, 10) three = axiom(b + c, one + three, a + one) a +=1 b =0 a = axiom(three,2, one)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!