Computer Science, asked by chiragkurtakoti, 7 months ago

Write a function that takes 2 inputs - A string and an
integer flag (Value can be 0 or 1)
• If the flag value is 'O' the function should return
all the characters at even place in the input string
• If the flag value is 'l'the function should return
all the characters at odd place in the input string
Example Output:
• Function 1("TRACXN",0) = "RCN"
• Function 1("TRACXN", 1) = "TAX"​

Answers

Answered by salimatamboli8810
0

Explanation:

yrutcturrararrururu is to u later I sti

Similar questions