+ 3
[SOLVED] Is that possible to calculate the integer square root of a number in python?? for eg. â32 = 4â2
For eg. The Square root of 32 must be displayed as 4â2 Plz help me
6 Answers
+ 2
Due to your codes up to now I agree
But ...don't have root on my keyboard..some little changes remain
https://code.sololearn.com/cLRcPKFonGln/?ref=app
+ 5
Electrons Sagar
List2 = list(set(list1))
For f in list2
While more than 1 of f in list2
Delete 2 times f from l1
Add f to l3
....
+ 2
First idea:
Factorize and if two factors occur two times take one of them before root
Eg
32= 2*2*2*2*2 = (2*2)*(2*2)*2
Root(2*2)*(2*2)=4
4*root(2)
+ 2
56 = 2*7*2*Ă2=2*2 *7*2
2*root(14)
+ 2
Thanks so much my broâ¤ď¸â¤ď¸â¤ď¸đâĄâĄâĄ
+ 1
I understood that but how can I work it out from the list of factors
For eg.
list1=[2,3,2,2,5,5]