Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

python nzec error

$
0
0

Why am i getting nzec error in this code

n=int(input()) a=[int(x) for x in input().split(" ")] b=0 for i in range(0,len(a)-1): for j in range(i+1,len(a)): b=b+abs(a[j]-a[i]) print(b)


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>