Question: 
Write a python function to find the largest number that can be formed with the given digits.


Model's Code:
def find_Max_Num(digits, n):
    return int(''.join(sorted(map(str, digits), reverse=True)))



Sample Correct Code:
def find_Max_Num(arr,n) : 
    arr.sort(reverse = True) 
    num = arr[0] 
    for i in range(1,n) : 
        num = num * 10 + arr[i] 
    return num 


Asserts:
assert find_Max_Num([1,2,3],3) == 321
assert find_Max_Num([4,5,6,1],4) == 6541
assert find_Max_Num([1,2,3,9],4) == 9321


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 57 of 974: 43/57 (75.43859649122807%): success