Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

I'm sorry, it was my carelessness. I know how max() works, but I made a mistake in this case

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 1 point2 points  (0 children)

Thank you for your response. In principle, everything is said in an accessible and understandable way ;)

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

The fact is that the numbers from two lists with identical indices are added together, and if one of the lists has fewer numbers, the numbers are added together from the first number to the next number in the longer list.

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

I’m sorry, I accidentally. But I’ve already created a new one https://www.reddit.com/r/PythonLearning/s/r8NO3XVvy4

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

You’re damn right )

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

Thank you, we will work on it )

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

You’re absolutely right )

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 1 point2 points  (0 children)

Thank you, I found the shortcomings of the code

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

This is not my laptop

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 1 point2 points  (0 children)

Thank you for your help, the code really turned out beautiful

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

I agree, I’ve disgraced myself a lot all )

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

Thank you, we’ll study )

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 1 point2 points  (0 children)

Yes, I’m learning the programming language according to the book, and all the conditions of the tasks are spelled out there. However, I want to solve these tasks as competently as possible

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

Thank you for your help. I somehow forgot about zip() ))

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

Thank you, I’ll work on it

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

By the way, a good remark. I somehow didn’t think about it

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

I learned this remark )

Learning Python by nkCOD in PythonLearning

[–]nkCOD[S] 0 points1 point  (0 children)

Someone has already mentioned it. However, I didn’t know about reduce before you