Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Каков самый большой делитель числа 600851475143, являющийся простым числом?
- dividend = 6851475
- simple_divider = 2
- list_dividers = []
- while simple_divider < dividend:
- if dividend % simple_divider == 0:
- list_dividers.append(simple_divider)
- simple_divider += 1
- print(list_dividers[len(list_dividers) - 1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement