python
                        
                    
                    List in reverse
This snippet will allow you to create a list in reverse
# We can create a list with items of different types
b = [49, "Ebrahim", True, 4.4]
print(b)
print(b[::-1]) # Can be slicedWas this helpful?
    
    Similar Posts
                        
                        - Reverse a list items in Python
- Reverse a string or number in python
- Create a flat list from list of lists in Python
- Check if a list exists in a list of lists Python
- Convert a List of Strings to List of Integers in Python
- [Python] Using comprehension expression to convert list of dictionaries to nested dictionary
- [Python] Create a list of objects using class names
