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"]
Buscar
Chart
Categorías
- Arts
- Business
- Computers
- Juegos
- Health
- Home
- Kids and Teens
- Money
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Read More
The Sound of Music (1965)
A young novice is sent by her convent in 1930s Austria to become a governess to the seven...
Softball: A Celebration of Skill, Strategy, and Team Spirit
Softball: A Celebration of Skill, Strategy, and Team Spirit
Softball, a dynamic sport born from...
The Ultimate Guide to Shopping for Your Dream Wedding: Making Every Moment Memorable
Shopping for your wedding can be both exhilarating and overwhelming. From finding the perfect...
Positive externalities of innovation
Key points
If inventors received a greater share of the broader social benefits...
How Do they celebrate the new years in Africa?
Connection between the calendar and natural phenomena, new Year's rituals of Africans and the...