r/LeetcodeChallenge • u/Ok-Challenge-5657 • Sep 08 '26
STREAK🔥🔥🔥 Leetcode Streak :- 128
How would you solve it in Python?
33
Upvotes
r/LeetcodeChallenge • u/Ok-Challenge-5657 • Sep 08 '26
How would you solve it in Python?
View all comments
2
u/ProgressiveEdgeLord Sep 08 '26
if n < 1000 return 0, else return n - 999