![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 07.01.2021 20:10 GiuliAzevedo
The list method reverse reverses the elements in the list. Define a function named reverse that reverses the elements in its list argument (without using the inbuilt reverse() list method).
Try to make this function as efficient as possible, and state its computational complexity using big-O notation.
here is the code that must be used.
def reverse(lyst):
write code here
def main():
"""Tests with two lists."""
lyst = list(range(4))
reverse(lyst)
print(lyst)
lyst = list(range(3))
reverse(lyst)
print(lyst)
if __name__ == "__main__":
main()
python please!
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 17:00
1. which of the following is not an example of an objective question? a. multiple choice. b. essay. c. true/false. d. matching 2. why is it important to recognize the key word in the essay question? a. it will provide the answer to the essay. b. it will show you a friend's answer. c. it will provide you time to look for the answer. d. it will guide you on which kind of answer is required.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 13:30
What process should be followed while giving a reference? sam has given a reference of his previous manager in his resume. sam should him in advance that the potential employers will him.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 05:00
Which of the following statements best deceive the relationship between carrying capacity and population size
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 09:00
Janet has to prepare a presentation on business strategies for work. which guideline should she follow to create an effective presentation? a. use a readable font b. use a multicolored background c. use a small, but stylish font d. include detailed text
Answers: 1
You know the right answer?
The list method reverse reverses the elements in the list. Define a function named reverse that reve...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 27.02.2021 14:00
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 27.02.2021 14:00
![question](/tpl/images/cats/mat.png)
Mathematics, 27.02.2021 14:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 27.02.2021 14:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 27.02.2021 14:00
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/es.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 27.02.2021 14:00
![question](/tpl/images/cats/es.png)
Spanish, 27.02.2021 14:00
![question](/tpl/images/cats/fr.png)
French, 27.02.2021 14:00
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 27.02.2021 14:00
![question](/tpl/images/cats/mat.png)
Mathematics, 27.02.2021 14:00
![question](/tpl/images/cats/health.png)
Health, 27.02.2021 14:00
![question](/tpl/images/cats/mat.png)
Mathematics, 27.02.2021 14:00
![question](/tpl/images/cats/ap.png)
Advanced Placement (AP), 27.02.2021 14:00