0
Can someone help me? (SOLVED)
9 Respostas
+ 5
You have to get new numero dividing numero by factor (numero = numero / factor) inside the loop
+ 2
Do you need help, honfu~?
+ 1
One thing: You need to indent the line below 'while...'
+ 1
I don't speak Spanish (and I am not that great at maths), so I am not sure what you intend to do...
+ 1
KrOW has the correct answer. Thanks to everybody!
0
I have this code with an infinite loop in line 3
0
True, it's already corrected
0
Then, you seem to have no break condition for your loop: If the result is 0, exponent += 1 will be executed forever.
0
That's my problem HonFu, when I input 28 an 7 the loop never stop