Python: Display and count divisors of two integers
<p>Write a program that will prompt the user for two integers, each of which is greater
than 0. The program will display and count the number of divisors that the two integers have in
common.
Additional requirements:
if the integer is less than 1 tell the user there is a problem and then prompt them for the
integer again.</p>

<p>This is what I have written so far, but I am stuck here I dont know how to incorporate both numbers. Essentially I do not know where to go from here or if 'here' is even correct???</p>

<p>Please help...[This is my first time with python]</p>

<pre><code>integer1 = input("Enter an integer:  ")   
integer2 = input("Enter an integer:  ")

print integer1, ":  "  ,

i = 1
while i &lt;= integer1 and integer2 :

    if integer1 or integer2 &lt; 1 :
        print input("Enter an integer:  ")

    if integer1%i == 0 and integer2%i == 0 :  
        print i , 

    i = i + 1
</code></pre>
