Given a string as input,write a python program to print ticket id of all passengers input format=src:destination:mob_no output =First two characters of src followed by last two characters of destination followed by sum of numbers at even indices(including zero) plus the sequence of passengers starting with 1 e.g:Input is Paris:Delhi:9945672345,Berlin:Brussels:9456723456 and output should be Pahi251,Bels292
Answers
Answered by
0
Answer:
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhudv
Explanation:
aKHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
Similar questions