Hey, I would like to be able to perform this but with being selective for which lists I sum up. Let’s say, that same example, but with only adding up the first number from the 3rd and 4th list.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Something like:
range(x, y) generates a list of integers from x(included) to y(excluded) and 1 as the step. If you want to change the
range(x, y, step)will do the same but increasing by step.You can find the official documentation here
Or you can do: