This is very simple question

Brian Quinlan brian at sweetapp.com
Wed Apr 21 12:13:43 EDT 2004


> I would want to obtain a list of factors (multiples of 2) given a
> prime number in python.
> 
> For example 13=[8,4,1], 5=[4,1], 7=[4,2,1], 15=[8,4,2,1]
> 
> I would appreciate a fuction which would do this.

If we told you it wouldn't be fair to the other students in your class :-)

Cheers,
Brian





More information about the Python-list mailing list