From 4dcdded45992224a21f95b6c62e950c2b36a29d5 Mon Sep 17 00:00:00 2001 From: Devil27 Date: Sat, 29 Sep 2018 05:40:46 +0000 Subject: [PATCH] Done --- __pycache__/__init__.cpython-36.pyc | Bin 0 -> 161 bytes .../__pycache__/__init__.cpython-36.pyc | Bin 191 -> 191 bytes .../__pycache__/build.cpython-36.pyc | Bin 468 -> 599 bytes q01_get_minimum_unique_square/build.py | 13 ++++++++----- .../tests/__pycache__/__init__.cpython-36.pyc | Bin 197 -> 197 bytes .../tests/__pycache__/test.cpython-36.pyc | Bin 1571 -> 1571 bytes 6 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 __pycache__/__init__.cpython-36.pyc diff --git a/__pycache__/__init__.cpython-36.pyc b/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f2fe423cd5610bd8c2e72499991dec324daefdc2 GIT binary patch literal 161 zcmXr!<>hMUSs%^Fz`*brh~WSv-~hzMEI=ZKA(%mv(QhR~5l9$8{PNS!$j?pHcS$YF z%rP?856>^kE-pw+PSsD&Pf68JD@sf*Nz94QNKDR7Eh%*jd3 kOHYkA(vOeN%*!l^kJl@xyv1RYo1apelWGUDrx=JC0OU9++5i9m literal 0 HcmV?d00001 diff --git a/q01_get_minimum_unique_square/__pycache__/__init__.cpython-36.pyc b/q01_get_minimum_unique_square/__pycache__/__init__.cpython-36.pyc index f9de2261d1eb71e5e8e14dbb4363527739e2f278..c9b5a4bf28a6476df3c8e63b5d5a0222a5de68a1 100644 GIT binary patch delta 42 xcmdnbxSx^3n3tEUoo9XYL=HPKm(;S%93yl6@cg3e;)2BFRQ=@ql+=ka$p8%Y4Zi>Y delta 42 ycmdnbxSx^3n3tDp+4W~p6FKa}5|c7A^vGHM-l&$m8ucs%I7M0WKxxO*>_*43&^7F6|Qm3*~I=%KnHo|6wkaO+5DCb#W zyeacc7Q$Lx<~lo0>%*fg*G=Y3X-1Y|tQs%wp0*~|ghp0wG2Nj0 zAr3Z#`=eLoAQ~p>o-If_*xkg<2U^*l>Ywo+Nx+jJ z_!m4mTSPoLVO}!HEa@1o2aCj$CRvg@x&+&AsGvu% zpmqNW8j9q})8N4>FNbpz?9iDqcxCjkkXBlPq@OK}lGw3aPo-^($F6crX)iGzrI9>F zGLN0y1npy@L-hi-i)mjfD@-Lbep9GyY#wxJxNzB6x|uik*{$Wd=Ort6K9d&NXRJ_G z=_$(#UX~K8vHh&x-D6YfS*5h9LdAksb&$-}fm@l~1XYTi`+3~@H?LL7wJiZnNuTs^ m*&aq0I9FP6U#!MjU9CF*1M8R;*N!VALMcyLEnF)>FZl-Pe0kph diff --git a/q01_get_minimum_unique_square/build.py b/q01_get_minimum_unique_square/build.py index e012f4e..d5ea00c 100644 --- a/q01_get_minimum_unique_square/build.py +++ b/q01_get_minimum_unique_square/build.py @@ -1,9 +1,12 @@ -# Default imports - +#%load q01_get_minimum_unique_square/build.py from math import sqrt -# Write your solution here: +# write your solution here def q01_get_minimum_unique_square(x,y): - "write your solution here" - + lst =[num for num in range (x,y+1) if num**0.5%1 ==0] + return len(lst) + +q01_get_minimum_unique_square(3,9) + + diff --git a/q01_get_minimum_unique_square/tests/__pycache__/__init__.cpython-36.pyc b/q01_get_minimum_unique_square/tests/__pycache__/__init__.cpython-36.pyc index 7a482a59da012a8b99067243cb0c176c77498cf1..2f9a221d72ea6032e8b4255645ab447da7e31e83 100644 GIT binary patch delta 42 xcmX@gc$AUDn3tEUi)VfGL=HPKm(;S%93yl6@cg3e;)2BFRQ=@ql+=kanE($<4b%Vt delta 42 ycmX@gc$AUDn3tDp+x2Hr6FKa}5|c7A^F%?rjU0Cv#S)V;GWA{Z%ky&b6H|)yT~dp)OY#dg|6