¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Python Program question
Create a program that will receive integer N and write the smallest integer 10**x that is greater than N.
2 Respuestas
+ 1
Use integer division by 10 on N, count the number of times you have to do that until the result is 0. return 10**count.
0
Thanks