Nov-24-2016, 08:45 PM
Hi people ,
I have what I presume is a really easy question but I cant get my mind wrapped around it..
How do I get a program to give me all divisors of a positive whole integer in a sorted list?
I have used a while loop with while *number* % 2 == 0:
but I am really confused as to what to put in the if statement...
thanks..
Doesnotcompute
I have what I presume is a really easy question but I cant get my mind wrapped around it..
How do I get a program to give me all divisors of a positive whole integer in a sorted list?
I have used a while loop with while *number* % 2 == 0:
but I am really confused as to what to put in the if statement...
thanks..
Doesnotcompute