#C7299. Symmetric String Checker
Symmetric String Checker
Symmetric String Checker
Given a non-negative string s, determine whether it is symmetric, i.e., it reads the same forwards and backwards. In other words, you need to check if
\( s = s^R \)
where \( s^R \) represents the reverse of the string \( s \). Your task is to output True
if the string is symmetric and False
otherwise.
The input will be provided via standard input and the result should be printed to standard output.
inputFormat
The input consists of a single line containing the string s to be tested.
outputFormat
Output a single line containing either True
if the string is symmetric or False
if it is not.
level
True