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
The most expensive jewelry in the world
Beautiful, alluring, mystical, mysterious... precious stones have always had a special power over...
ADHD: Comorbidities / Trauma
ADHD, trauma, and Adverse Childhood Experiences are also comorbid, which could in part be...
Kill Bill: Vol. 1. (2003)
After awakening from a four-year coma, a former assassin wreaks vengeance on the team of...
7 Tips for Buying Consumer Electronics Online
Buying consumer electronics via the Internet is quite simple – potential buyers of goods...
The Terminator. (1984)
A human soldier is sent from 2029 to 1984 to stop an almost indestructible cyborg killing...