Skip to content

Instantly share code, notes, and snippets.

@rjshekar90
Created March 2, 2017 17:51
Show Gist options
  • Save rjshekar90/8abbc914db27f436dbde135bbe35fc63 to your computer and use it in GitHub Desktop.
Save rjshekar90/8abbc914db27f436dbde135bbe35fc63 to your computer and use it in GitHub Desktop.
#https://www.hackerrank.com/challenges/python-loops
if __name__ == '__main__':
n = int(raw_input())
for i in range(n):
print i ** 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment