I am trying to figure out how to append multiple values to a list in Python. I know there are few methods to do so, such as manually input the values, or put the append operation in a for
loop, or the append
and extend
functions.
However, I wonder if there is a more neat way to do so? Maybe a certain package or function?
See Question&Answers more detail:os