Question: the second picture was not the correct answer 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18


2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 Composing Expressions Write an expression for the following formula You may assume that m and n are already defined. y (m + n)! (m + 1)(n-1)! (Note that the factorial refers only to the second term of the denominator, not the entire denominator.) You will need factorial from the math module Starter code alick to view) Answers French (France) search W O Answer 1 #min already have been defined 2 import math 3 #assign values to m and n 4 5 m=2 6 n=4 77 8 y=math factorial(m+n) / ((m+1) math factorial(n-1)) #calculate y 9 print(y) #print y EX French (France) Your answer is not correct. Here is some feedback on your code: Check your expression for y. Execution time: 0.4s -- Time limit: 10.0 s Your code ran on relate-05.cs.illinois.edu. Your code printed the following output: 40.0 DX French (France) e to search O
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
