SHARE
TWEET

Untitled

a guest Jul 12th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. n = int(input())
  2. square = 0
  3. for i in range (1, n):
  4.     square+= (2*n -1)
  5.     print (i,'^2 = ', square)
RAW Paste Data
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
 
Top