Given a list of numbers nums = [12, 45, 2, 45, 19, 31, 8], find and print the second largest unique number in the list.
nums = [12, 45, 2, 45, 19, 31, 8]
Use `sorted(list(set(nums)))` to get sorted unique elements in ascending order.
Press Ctrl+Enter or click "Run Code" to execute your solution in the browser.