Skip to content

Commit c820d54

Browse files
authored
Add 1323_maximum_69_number (qiyuangong#15)
1323_maximum_69_number by @Mansi2814
1 parent d8d138d commit c820d54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/1323_maximum_69_number

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class Solution:
2+
def maximum69Number (self, num: int) -> int:
3+
return(str(num).replace('6','9',1))

0 commit comments

Comments
 (0)