Hi, I am new to python and i have to write a following code without using any
inbuilt function or a for loop. Only while and if loops are allowed.

If i input a number, i should get a perfect cube nearest to it.
For eg: if 
input=4, output=8
input=8, output=27
and so on....
can some one help with the code?



--
View this message in context: 
http://python.6.x6.nabble.com/Finding-a-nearest-perfect-cube-tp5038336.html
Sent from the Python - tutor mailing list archive at Nabble.com.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to