Answer to Question #328039 in Python for neida

Question #328039
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 output when the user enters -4?





1
Expert's answer
2022-04-13T02:15:11-0400

-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