Answer to Question #123064 in Python for Lisa

Question #123064
def mystery1(x):
return x + 2

def mystery2(a, b = 7):
return a + b

#MAIN
n = int(input("Enter a number:"))
ans = mystery1(n) * 2 + mystery2 (n * 3)
print(ans) what is the output of the user enters -4
1
Expert's answer
2020-06-19T06:50:38-0400

answer: -9


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS