write a function that takes 2 input .A string and an integer flag (value can be 0 or 1)
Answers
Answer:
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"
answer
Answers: 1
Get
Other questions on the subject: Computer Science
image
Computer Science, 19.08.2019 19:00, dhvani6272
What is the count of total number of methods present in iterator interface?
Answers: 1
continue
image
Computer Science, 21.08.2019 14:00, siya1472006
Camera has the feature called takephoto. mobile has implemented camera and has given its own definition for takephoto. laptop has also implemented camera and has given its own implementation of camera. what is the object oriented concept between camera and mobile and camera and laptop? select one: a. interface b. abstract c. encapsulation d. modularity
Answers: 1
continue
image
Computer Science, 22.08.2019 03:00, vijayrockzz4949
What is the full form of computer ?
Answers: 2
continue
image
Computer Science, 22.08.2019 05:00, garganjali1985
Web services are not used to - (a) reuse application-components. (b) solve the interoperability problem (c) connect existing software (d) implement client-server paradigm
Answers: 2
continue
Do you know the correct answer?
Write a function that takes 2 inputs - A string and an integer flag (Value can be 0 or 1)
• I...
name
Answer
Questions in other subjects:
Konu
English, 27.10.2020 15:06
plz guys abhi galdi say mara channal subscribe karo. or jo song kaho gay milay ga. channel name is lyrics by laiba...
Answers
Konu
Math, 27.10.2020 15:06
Using the prime factorizations, what is the greatest common factor of 16 and 24?...
Answers
Konu
Hindi, 27.10.2020 15:06
Please Help Guys... अलंकार की परिभाषा लिखते हुए उसके भेद लिखिए । प्रत्येक अलंकार के तीन – तीन उदाहरण लिखिए । Irrelevant will be Reported ...
Answers
Konu
Math, 27.10.2020 15:06
Q1:- Find the mean of following observations?2, 3, 4, 5, 0, 1, 3, 3, 4,3...
Answers
Konu
Business Studies, 27.10.2020 15:06
What is the key difference between product and service businesses?? ...
Answers
Konu
Social Sciences, 27.10.2020 15:06
A blank is the physical appearance or the traits of organism...
Answers
Konu
English, 27.10.2020 15:06
Only ___. form is used in passive voice...
Answers
Konu
Math, 27.10.2020 15:06
The hypotenuse of a right triangle is 50 millimeters long. One leg of the right triangle is 30 millimeters long. What is the length of the other leg...
Answers
Konu
Physics, 27.10.2020 15:06
The value of 100 kg - 0.370 kg with correct significant figure will be...
Answers
Konu
English, 27.10.2020 15:06
I want answer as hello from everyone so I will know you are watching my questions and my questions are reacting till you'll ...
Answers
Other tasks in the category: Computer Science More task
Total solved problems on the site: 26593393
By using this site