rank0001

Untitled

Nov 25th, 2021
412
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. string = (input())
  3.  
  4. total_digits = 0
  5.  
  6.  
  7. for s in string:
  8.     if s.isdigit():
  9.         total_digits += 1
  10.    
  11. print(total_digits)
RAW Paste Data