[Tutor] QUESTION

Alan Gauld alan.gauld at yahoo.co.uk
Sat Mar 4 03:43:23 EST 2017


On 04/03/17 01:37, Tasha Burman wrote:
> I am having difficulty with a power function; 
> what is another way I can do 4**9 without using **?

You can use the pow() function.

answer = pow(4,9)

However, I'm not sure that really answers your question?
Do you mean that you want to write your own power()
function and want help with that? If so ask again with
a more specific description of your problem.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list