python36.py 221 B

12345678910
  1. # tests for things that only Python 3.6 supports
  2. # underscores in numeric literals
  3. print(100_000)
  4. print(0b1010_0101)
  5. print(0xff_ff)
  6. # underscore supported by int constructor
  7. print(int('1_2_3'))
  8. print(int('0o1_2_3', 8))