January 09, 2022

find the cube of the range given digits. || codeAj

Find the cube of the range given Digits.









Source Code

r=int (input ("enter the range of digit : "))
def number_conter(n):
count=0
while(n>0):
count = count + 1
n=n//10
return count

print(number_conter(3452679806753))
i=0
while True:
l=i**3
print(l)
i+=1
if number_conter(l) == r:
break

checkout next

find the cube of the range given digits. || codeAj

Find the cube of the range given Digits. Source Code r= int ( input ( "enter the range of digit : " )) def number_conter (n): ...