fork download
  1. a = int(input())
  2. k = 1
  3. b = (a ** 0.5) // 1
  4. for i in range (1, b+1):
  5. if a % i ==0:
  6. k = k + 1
  7. print(k)
Runtime error #stdin #stdout #stderr 0.19s 23776KB
stdin
32
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 4, in <module>
TypeError: 'float' object cannot be interpreted as an integer