The triangular number sequence is the number of dots in each triangular pattern. The first triangle has just one dot. The second triangle has three dots. The third triangle has 6 dots. To find the dots for the nth triangle, you can use the formula: number of dots = n(n+1)/2.
Write a complete Python program that prompts the user for a non-negative whole number n. Then your program should create a list called "dots" that contains the triangular number sequence from the first triangle to the nth triangle. For example, if the user enters 4 as the input, the "dots" list will be: dots = [1, 3, 6, 10].