Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Python-code-repository

Python Project

An Even-Odd Palindrome string is defined to be a string whose characters at even indices form a Palindrome while the characters at odd indices also form a Palindrome separately.

Example

Input: str=”abzzab”

Output:YES

Explanation:

String formed by characters at odd indices: bzb, which is a Palindrome.

String formed by characters at even indices: aza, which is a Palindrome.

Hence, the given string is an Even-Odd Palindrome.

Input: str=”daccad”

Output: NO

About

all python code done in class

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages