def lots_of_math(a,b,c,d):

first = a+b

second = c-d

third = first*second

print(first)

print(second)

print(third)

return third % a

This is the code I used… is it correct? Not sure if I was supposed to do that. How do I get it all on one line?

def lots_of_math(a,b,c,d):

first = a+b

second = c-d

third = first*second

print(first)

print(second)

print(third)

return third % a

This is the code I used… is it correct? Not sure if I was supposed to do that. How do I get it all on one line?

yes it seems correct