Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sum of Nested Lists
#1
Hello people. I'm a python beginner, and I'm currently working on a simple nested list problem, but I can't figure out quite well because I couldn't attend my python programming class for two weeks due to sickness. It'd be great if someone shows me how to approach and solve the problem. I appreciate your time.

"find and print the sum of each list."
list1 = [[1,3,4],[6,10,17],[21,53,73]]
list2 = [90,91,109],[110,120,300],[650,700,1000]
Reply
#2
what have you tried? Please, post your code in code tags, full traceback (if you get any) in error tags and ask specific questions.
Reply
#3
--- Code Removed ---
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Sorting nested lists in ascending order jszum 2 2,249 May-17-2020, 01:35 PM
Last Post: jefsummers
  Recursions with nested lists sashiessay 2 2,771 Oct-05-2019, 11:40 AM
Last Post: sashiessay
  Combine nested lists in output python12345 2 2,776 Feb-17-2018, 01:38 PM
Last Post: python12345
  Nested loops, lists and if statements Liquid_Ocelot 10 8,932 Apr-23-2017, 02:02 PM
Last Post: Mekire

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020