Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (47.6k points)

Right now I am using a list, and was expecting something like:

verts = list (1000)

Should I use an array instead?

1 Answer

0 votes
by (106k points)

You can do something like as follows:-

verts = [None]*1000

To know more about this you can have a look at the following video tutorial:-

Related questions

+1 vote
2 answers
0 votes
1 answer
0 votes
2 answers
asked Oct 3, 2019 in Python by Tech4ever (20.3k points)
0 votes
1 answer
asked Sep 27, 2019 in Python by Sammy (47.6k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...