Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = float(input("Enter the number: "))
- print((x % 1000) // 100 + (x % 0.1) // 0.01)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement