Fastest way to initialize a List in Python? (comparison of 3 options)

Three ways to create a Python list with a specific value. One is to create an empty list, then use a for loop and append the items. Option number two is list comprehension, where we create the list right away in one line. And option number three is to multiply the number of times we want this.