# 2119. A Number After a Double Reversal ###### tags: `Leetcode` `Easy` Link: https://leetcode.com/problems/a-number-after-a-double-reversal/description/ ## Code ```python= class Solution: def isSameAfterReversals(self, num: int) -> bool: if num==0: return True if num%10==0: return False return True ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up