+ 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 ответов
+ 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]