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"]
Search
Chart
Categories
- Arts
- Business
- Computers
- Games
- Health
- Home
- Kids and Teens
- Money
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Read More
How the strange scientific instruments of antiquity worked, which miraculously survived to our times
Millennia ago, people still sought to know the world around them. They came up with a variety of...
Psychosis: Disorganization of speech/thought or behavior
Disorganization is split into disorganized speech (or thought), and grossly disorganized motor...
The Thrill and Endurance of Cycling Sports: A Journey on Two Wheels
The Thrill and Endurance of Cycling Sports: A Journey on Two Wheels...
How to improve your well-being and health
How to improve your well-being and health
Health is the most valuable asset we can...
The Power of Energy: Understanding Its Types, Sources, and Future
Energy is one of the most fundamental concepts in science and the cornerstone of modern...