summaryrefslogtreecommitdiff
path: root/progs/a589.py
blob: 7d008d28a33c24d31bab7e356e45ad4bf8821fdc (plain)
1
2
3
4
5
6
def odd_values_string(str):
  result = "" 
  for i in range(len(str)):
    if i % 2 == 0:
      result = result + str[i]
  return result