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