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
- Money
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Leia mais
The Grand Budapest Hotel. (2014)
A writer encounters the owner of an aging high-class hotel, who tells him of his early years...
Labor market analytics: what is it?
Sometimes we use the same words with the interlocutor, but at the same time we talk about...
Betting On Zero. (2016)
Writer/director Ted Braun follows controversial hedge fund titan Bill Ackman as he puts a billion...
Heat. (1995)
A group of high-end professional thieves start to feel the heat from the LAPD when they...
What is Native Advertising: Examples, Types, Pros and Cons
Native advertising is a form of advertising that looks like a natural context and integrates into...