Skip to content

Instantly share code, notes, and snippets.

@muaddib1971
Created January 17, 2023 08:29
Show Gist options
  • Save muaddib1971/865ccb810f2f193cf07b870cebd7fb8c to your computer and use it in GitHub Desktop.
Save muaddib1971/865ccb810f2f193cf07b870cebd7fb8c to your computer and use it in GitHub Desktop.
python code to implenet sum
#!/usr/bin/env python3
result = 0
for n in range(1,101):
result +=5*n*n
print (result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment