Function to generate string from characters at odd indices
def makeOddString ( Str ) : NEW_LINE INDENT odd = " " NEW_LINE for i in range ( 1 , len ( Str ) , 2 ) : NEW_LINE INDENT odd += Str [ i ] NEW_LINE DEDENT return odd NEW_LINE DEDENT