How do I initialise a list with 10 times a default value in Python?

I’m searching for a good-looking way to initialize a empty list with a specific range.
So make a list that contains 10 zeros or something to be sure that my list has a specific length.

3 Answers
3

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *