Zanjo_Betchi

W3A3 : Divisibility

Aug 28th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. '''
  2. @Author: Zanjo
  3. @Date Of Creation: 14/08/18
  4. '''
  5.  
  6. l = int(input())
  7. print ((lambda a: (len([int(z) for z in [int(i) for i in range(1,51)] if z%a==0]) - 1))(l)if l>=1 and l<=50 else "0",end="")
Add Comment
Please, Sign In to add comment