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 10:00
Wich technology can a website use to allow you to listen to a concert live over the internet?
Answers: 3
question
Computers and Technology, 23.06.2019 22:30
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
What is the function of compilers and interpreters? how does a compiler differ from an interpreter?
Answers: 2
question
Computers and Technology, 25.06.2019 04:30
What is the purpose of network permissions? a)to control access to network resources b)to convert to wireless networking c)to enable the installation of nics d)to reduce operating costs
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
English, 15.04.2021 20:50
question
Computers and Technology, 15.04.2021 20:50
Questions on the website: 13722362