subject
Computers and Technology, 05.12.2019 23:31 tangia

Write a function {position xs y} that returns the first position of y in the list xs. the positions in a list start with 1. for example, {position [a b c] c} returns 3 and {position [a b c b] b} returns 2. try two versions: 1) one that assumes that y is an element of xs and 2) one that returns 0, if y does not occur in xs.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
The next button in the review section shows the next available comment. next slide with no comment. previous comment. edited comment.
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
How do you share someone else’s tweet with your own twitter followers?
Answers: 1
question
Computers and Technology, 24.06.2019 11:30
Convert 11001110(acdd notation) into decimal
Answers: 2
question
Computers and Technology, 24.06.2019 15:30
If you want to delete an entire word at a time, which key should you press along with the backspace or delete key?
Answers: 1
You know the right answer?
Write a function {position xs y} that returns the first position of y in the list xs. the positions...
Questions
question
Mathematics, 13.06.2021 02:20
question
Mathematics, 13.06.2021 02:20
question
Mathematics, 13.06.2021 02:20
Questions on the website: 13722362