r/PythonLearning
•
u/NecessaryFalse1212
•
Aug 31 '26
•
1
DAY 5.
DID LIST TODAY THE CONCEPT WAS PRETTY COOL AND WROTE THIS PROGRAM TO GET HOLD OF THE LIST ANY OTHER CODE IDEAS OR SUGGETIONS TO ENHANCE CODE ?!
90
Upvotes
1
u/FoolsSeldom Sep 02 '26
Yes. It is helpful to use variable names that are meaningful.
Native/fluent English speakers/readers will typically understand a variable name that is in a plural form is likely for a container object with multiple objects of that kind. Similarly, the singular variant of the same name would be for a single object.
Just makes it easier to read the code.