Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 19th, 2018
71
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.09 KB
| None
|
0
0
raw
download
clone
embed
print
report
A=[[1,2,3],[4,5,6],[7,8,9]]
sum=0
n=len(A)
for i in range(n):
sum+=A[i][i]
print(sum)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C++ | 22 min ago | 0.79 KB
17 (тройка)
Python | 23 min ago | 0.59 KB
Untitled
C++ | 37 min ago | 0.66 KB
Untitled
C++ | 53 min ago | 0.62 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Untitled
C++ | 1 hour ago | 0.46 KB
GPS Display rev_03
Arduino | 1 hour ago | 2.52 KB
GPS Tracker rev_02
Arduino | 1 hour ago | 2.28 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!