6 lines
128 B
Python
6 lines
128 B
Python
|
|
def palindromic(str):
|
||
|
|
for i in range(len(str)//2):
|
||
|
|
if str[i] != str[~i]:
|
||
|
|
return(False)
|
||
|
|
return(True)
|