How do i do arithmetic for all elements of a list : <p>I need to find the biggest factor of the number 600851475143</p>

<p>so in order for doing that i want to find all primes smaller that this number</p>

<pre><code>number = input("enter max number:")
def findprime (number):
    prime = [1,2]
    for i in range (2,number):
        if(i%)
</code></pre>

<p>how do i preform arithmetic's for all numbers in a list?</p>
