fork download
  1. print('²'.isdigit()) # True
  2. print(int('²')) # ValueError
  3.  
Runtime error #stdin #stdout #stderr 0.14s 23492KB
stdin
Standard input is empty
stdout
True
stderr
Traceback (most recent call last):
  File "./prog.py", line 2, in <module>
ValueError: invalid literal for int() with base 10: '²'