Python3 Att List Reverse
# Python3 List reverse() Method
## Description
The `reverse()` function is used to reverse the elements in a list.
## Syntax
The syntax for the `reverse()` method is:
```python
list.reverse()
## Parameters
* None.
## Return Value
This method does not return any value, but it reverses the order of the elements in the list.
## Example
The following example demonstrates the usage of the `reverse()` function:
```python
#!/usr/bin/python3
list1 = ['Google', 'Tutorial', 'Taobao', 'Baidu']
list1.reverse()
print ("List after reversal: ", list1)
The output of the above example is:
List after reversal: ['Baidu', 'Taobao', 'Tutorial', 'Google']
YouTip