80.3k views
1 vote
For questions 5-8, consider the following code:

def mystery(a = 2, b = 1, c = 3):

return 2 * a + b + 3 * c

What is the output for mystery(4, 3, 7)?

What is the output for mystery(5, 8)?

What is the output for mystery(1)?

What is the output for mystery()?

User Svinja
by
7.0k points

1 Answer

2 votes

Answer:

les go, it has optional parameters so...

Step-by-step explanation:

output of 1 is 32

second 27

third 12

fourth 14

User Carmen
by
7.5k points