Untitled
unknown
python
a year ago
237 B
4
Indexable
Never
# Create a list of numbers # Print the first element of the list # Print the last element of the list if it's less than 4 # Replace the second element with a new value if it's greater than 2 # Print the updated list