# | Problem | Pass Rate (passed user / total user) |
---|---|---|
14676 | Strict formatting |
|
14678 | Is it palindrome? |
|
Description
Given input N (int/float), output N in a specific way such that:
If x is a positive integer, output 0 in front of the number such that the length of the number is 5
If x is a float, make sure the total of number count before and the after comma are 5
If the count already exceed 5, let it be
HINT
because python standart I/O converting all the input to str, here a link for a hint how to differentiate float or int
update
9/10 constraint update for input N
Input
A positive integer/float N
0 < N <= 1000000
Output
Output the correct formatting of the number
Sample Input Download
Sample Output Download
Discuss
Description
Palindrome is a word, phrase, or sequence that reads the same backwards as forwards.
Write a simple code to check if the input string s is a palindrome
Input
Input string S
1 <= len(S) <= 1000
Output
Output Yes if its a palindrome and No if its not