I know some basic C++ and I understand how to fill an array with user input via a for loop, but I would like to know how to accomplish that task in Python 3. I looked around here and there but could not really comprehend the way others were answering this question.
int size = 0;
cout << "Enter size: " << endl;
cin >> size;
array[size] = {0};
for (int i = 0; i < size; i++)
cin >> array[i];
Hopefully someone can explain this to me in a simple way. As you can tell, I just started C++ about 5 to 6 months ago and Python3 around the middle of this month.
Thanks!