reverse() can flip the list around. The reverse()
method doesn't return any value. It updates the existing list. Here's an example:
x = ["a", "b"]
x.reverse()
["b", "a"]
Pesquisar
Chart
Categorias
- Arts
- Business
- Computers
- Jogos
- Health
- Início
- Kids and Teens
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Leia mais
Список Шиндлера. Schindler's List. (1993)
Сценарий «Списка Шиндлера» долго кочевал от одного режиссера к другому, пока не...
The Unspoken Guest: Death's Role in Society
In every society, death is an inevitable part of the human experience, yet it remains one of the...
14 Peaks: Nothing Is Impossible (2021)
Fearless Nepali mountaineer Nirmal Purja embarks on a seemingly impossible quest to summit all 14...
The Intersection of Science and Society: Navigating Progress and Ethical Dilemmas
Science is not an isolated endeavor confined to laboratories and academic institutions; it...
To Kill a Mockingbird. (1962)
Atticus Finch, a widowed lawyer in Depression-era Alabama, defends a black man against an...