givenString = 'pynative'

print("Original String is ", givenString)


def print_char_at_even_index(str):
    for i in range(0, len(str) - 1, 2):
        print(str[i])


print('Printing only even index chars')
print_char_at_even_index(givenString)

16aed9db6ba47c10400e82e7a247015dbea89e6d
<mask token>

<mask token>


def print_char_at_even_index(str):
    for i in range(0, len(str) - 1, 2):
        print(str[i])


<mask token>

<mask token>
print('Original String is ', givenString)


def print_char_at_even_index(str):
    for i in range(0, len(str) - 1, 2):
        print(str[i])


print('Printing only even index chars')
print_char_at_even_index(givenString)

givenString = 'pynative'
print('Original String is ', givenString)


def print_char_at_even_index(str):
    for i in range(0, len(str) - 1, 2):
        print(str[i])


print('Printing only even index chars')
print_char_at_even_index(givenString)

givenString = 'pynative'

print("Original String is ", givenString)


def print_char_at_even_index(str):
    for i in range(0, len(str) - 1, 2):
        print(str[i])


print('Printing only even index chars')
print_char_at_even_index(givenString)
