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"]
Αναζήτηση
Chart
Κατηγορίες
- Arts
- Business
- Computers
- Παιχνίδια
- Health
- Κεντρική Σελίδα
- Kids and Teens
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Διαβάζω περισσότερα
Заклятие 3: По воле дьявола. The Conjuring: The Devil Made Me Do It. (2021)
18 июля 1981 года Эд и Лоррейн Уоррены присутствовали при проведении экзорцизма над маленьким...
ABC 13. KTNV Las Vegas Live TV. USA
KTNV-TV, channel 13, is an ABC-affiliated television station located in Las Vegas, Nevada, United...
Python TypeError
The Python TypeError is an exception that occurs when the data type of an object in an...
Before Sunset. (2004)
Nine years after Jesse and Celine first met, they encounter each other again on the French leg of...
Second Act. (2018)
A big box store worker reinvents her life and her life-story and shows Madison Avenue what street...