From 5c2861590192e0c1765bf6979bb9321eb0c28089 Mon Sep 17 00:00:00 2001 From: Sumeshks29 Date: Mon, 19 Nov 2018 08:07:02 +0000 Subject: [PATCH] Done --- __pycache__/__init__.cpython-36.pyc | Bin 0 -> 164 bytes .../__pycache__/__init__.cpython-36.pyc | Bin 191 -> 194 bytes .../__pycache__/build.cpython-36.pyc | Bin 468 -> 460 bytes q01_get_minimum_unique_square/build.py | 7 ++++++- .../tests/__pycache__/__init__.cpython-36.pyc | Bin 197 -> 200 bytes .../tests/__pycache__/test.cpython-36.pyc | Bin 1571 -> 1574 bytes 6 files changed, 6 insertions(+), 1 deletion(-) 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..d0f54a01ee100e52ed4651777181c35adfcb343b GIT binary patch literal 164 zcmXr!<>eAc{}j#0z`*brh~WSv-~hzMEI=ZKA(%mv(QhR~5l9$8{0h|1$j?pH4=&A3 zEzZa;HnP+Y&o9a@E=WvH)lbe(N!3p)N=zF4Fn$s&~ 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..6f57f23a0650a7c4caa3312078bdaf6fef42a621 100644 GIT binary patch delta 52 zcmdnbc!-h1n3tDJApKMHL=JO>eEp34+*JMG(%jVIjO=0~Oa1WtqU_>=#N<@{ Hi809lvw0E2 delta 49 zcmX@axSx^3n3tDp+4W~p6FJOfbM!Ovb5r#blQJ^(UGmHGa`F>XiuGMmi?d7e3ns=V F0|2G#5y}7n diff --git a/q01_get_minimum_unique_square/__pycache__/build.cpython-36.pyc b/q01_get_minimum_unique_square/__pycache__/build.cpython-36.pyc index 45ec8aee9d1537d3ddceb40ada69e0f616a72575..269a24c60bab0e8bcab0e6fdb5bffe7404614417 100644 GIT binary patch delta 249 zcmcb@e1@6Jn3tDJGXGOFGvh=qA6I4u1_lsz2I68XAd$jY%T!@d!%)MR%~)ho!cf9k z!_dsw%m|^gnToV(m{OR`8ETno7{D|`A=|{Mx=u{Dm^1TAikN^#XfoeothmKkd5bkU zzcjC8B|{MhQ1n-henx(7s(x^3ZfbExcCnGAet3RSc5y*sa;koEeoE?O5yqS_c91)G zfCK{*3nLe!2qOn04`UG*knaaHmL)f_Bm-;*SO{z`62S>nc8kL%H$SB`C)Ez*tzwXS Gcvt{_tv4P3 delta 257 zcmX@Ze1)0In3tE!>F%?r8w?Y>5Rj{iL24P8SQteZd4RBp2gvi&WWL3cn^=+owht@>HWG>81}eM7 VVUwGmQks)$#|Y#VgWSf$3;-^fJ(>Uj diff --git a/q01_get_minimum_unique_square/build.py b/q01_get_minimum_unique_square/build.py index e012f4e..de68dfb 100644 --- a/q01_get_minimum_unique_square/build.py +++ b/q01_get_minimum_unique_square/build.py @@ -6,4 +6,9 @@ def q01_get_minimum_unique_square(x,y): "write your solution here" - + count=0 + while(x<=y): + if( int(sqrt(x))== sqrt(x)): + count+=1 + x+=1 + return count 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..0c34fb8c0acd63d23fbbb045bd482370ac247eb9 100644 GIT binary patch delta 52 zcmX@gc!H6`n3tDJApKMHL=JO>QvHnl+*JMG(%jVIjO=0~Oa1WtqU_>=#N<@{ Hi7}Y~wzU!4 delta 49 zcmX@Xc$AUDn3tDp+x2Hr6FJOfi}W+{b5r#blQJ^(UGmHGa`F>XiuGMmi?d7e3ns>A F0syOV5%K^4 diff --git a/q01_get_minimum_unique_square/tests/__pycache__/test.cpython-36.pyc b/q01_get_minimum_unique_square/tests/__pycache__/test.cpython-36.pyc index 1297e551f19f751197062170a3af8e3c4b333297..5e062d9cc1b2e6eb81acb625e76842aa73f6797f 100644 GIT binary patch delta 55 zcmZ3?vy6wsn3tDJApKMHMvkkD3WfR^`MIh3!KJyW#TnVfMwa^F`9;~q1&PV2`pNkz LshfW>YO(+T^yd=o delta 52 zcmZ3+vzUj&n3tE!>F%?rjT~1QW%Kki@^e%56O%GB^