l = [0]*n
creates a list of size n, with each element as 0
source: https://stackoverflow.com/questions/5205575/how-do-i-get-an-empty-array-of-any-size-in-python
creates a list of size n, with each element as 0
source: https://stackoverflow.com/questions/5205575/how-do-i-get-an-empty-array-of-any-size-in-python
No comments:
Post a Comment