I\'m learning python and had a quick question.
I have to write a code to find the cube root, which I\'ve done. I want to give the user the option of calculating an
As an alternative to the function route, you could do it in a while loop, though it would be cleaner to use functions. You could do:
choice = 'y' while choice.lower() == 'y': #code for the game choice = raw_input ('run again? (y/n)')