Fügen Sie alle Zahlen in jeder Zeile hinzu und geben Sie diese Zahl aus, die die Gesamtsumme aller Zeilen ausgibt
Add up all the numbers in each row and output that number
Output the grand total of all rows
total = 0
for x in variable:
x_total = 0
for y in x:
x_total = int(y) + x_total
print(x_total)
total = x_total + total
print(total)
Suspended Suspense