For Questions 2-4, consider the following program: def tryit(a, b = 7):
return a + b
#MAIN
n = int(input('Enter a number: '))
ans = tryit(n) * 2
print (ans)
What is output if the user enters 2?

Solved
Show answers

Ask an AI advisor a question