fork download
  1. s = ' 123 '
  2. print(s.isnumeric()) # False
  3. print(s.isdigit()) # False
  4. print(int(s)) # 123
  5.  
Success #stdin #stdout 0.02s 9164KB
stdin
Standard input is empty
stdout
False
False
123