Answers for "Given a string, display only those characters which are present at an even index number."

0

Given a string, display only those characters which are present at an even index number.

#Given a string, display only those characters which are present at an even index number.
z = "Amazing"
for x in range (2, len(z), 2):
    if x % 2 == 0:
     print (z[x])
Posted by: Guest on June-03-2021

Code answers related to "Given a string, display only those characters which are present at an even index number."

Browse Popular Code Answers by Language