0
Not sure what your question is, but this will take an input and capitalize every other letter
changed=""
alt=True
for i in input("Enter String - "):
if alt:
changed=changed+i.upper()
alt=False
else:
changed=changed+i.lower()
alt=True
print(changed)