Skip to content

Instantly share code, notes, and snippets.

@savolla
Created March 7, 2017 20:24
Show Gist options
  • Save savolla/040a26ca11f699fca622c5ab1bfecad7 to your computer and use it in GitHub Desktop.
Save savolla/040a26ca11f699fca622c5ab1bfecad7 to your computer and use it in GitHub Desktop.
I finally made something useful. This program takes power of numbers 1 to 10. Not very useful but I wrote this in 5 mins :OOO
import math
l = []
for i in range(1,11):
i = i**2
l.append(i)
i = int(math.sqrt(4))
i += 1
print(l)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment