Skip to content

Commit 94182c7

Browse files
Update maximum_combination.py
1 parent 33d0186 commit 94182c7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

maths/maximum_combination.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
"""
22
Source: https://www.instagram.com/p/CG7kv65A6s1/?utm_source=ig_web_copy_link
33
4-
The following function accepts 2 positive integers and makes the first number as large as possible by swapping out its digits for digits in second number
4+
The following function accepts 2 positive integers
5+
and makes the first number as large as possible
6+
by swapping out its digits for digits in second number
7+
58
>>> maximum_combination(9132,5564)
69
9655
710
>>> maximum_combination(523,76)

0 commit comments

Comments
 (0)