0

How to Show number of divisors of int(input()) in python !?

We wanna get 20 number from user ,then show the number which has most divisors from them Then print that number and amount of it divisors . For example : Input: 767 665 999 895 907 796 561 914 719 819 555 529 672 933 882 869 801 660 879 985 Output: 672 24 Here is first steps of what I did and my question is second part of it list_number = [] for i in range(1,21): n = int(input()) list_number.append(n) ... https://code.sololearn.com/c5sqZQpt7URl/?ref=app

13th Feb 2020, 7:53 AM
Mohammad Tashakkori
Mohammad Tashakkori - avatar
2 Réponses
13th Feb 2020, 7:56 AM
Mihai Apostol
Mihai Apostol - avatar
13th Feb 2020, 9:14 AM
Mohammad Tashakkori
Mohammad Tashakkori - avatar