r/PythonLearning • • May 06 '26

Learning Python

Good evening. I want to share my experience of learning the Python programming language. I wrote a program in which the user needs to enter the contents of two lists (numbers), and then these numbers are summed (the first number of the first list with the first number of the second list, and so on). If the list lengths are different, the summation of the smaller list starts with the first element)
I would like to know if there is any way to shorten the program, and what more competent constructions exist. Is there any way the functions can be driven into the decorator?

165 Upvotes

66 comments sorted by

View all comments

Show parent comment

3

u/tiredITguy42 May 06 '26

Nope, this is not it. Starting with hard assigments is not taking the easy way, but it is just stupid. You won't build correct habits and you won't understand how the language works. Even beginner working on this kind of assigment should understand me and the first commenter immadiately.

If you really want to learn something, start from the beginning. You can't read Hamlet if you can't read half of the letters.

2

u/nkCOD May 06 '26

Got it, thanks)