# Create a list of values listValues = [-1, 10, -100, -50, 2] # Sorting the list listValues.sort() # Printing the last element print("Largest element in the list is:", listValues[-1])