Skip to content

Commit e5f1069

Browse files
authored
Create Maximum 69 Number.py
1 parent a2ecf61 commit e5f1069

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

easy/Maximum 69 Number.py

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

0 commit comments

Comments
 (0)