Debian Codegraph @

tests/data/cases/numeric_literals_skip_underscores.py

raw
1 x = 123456789
2 x = 1_2_3_4_5_6_7
3 x = 1E+1
4 x = 0xb1acc
5 x = 0.00_00_006
6 x = 12_34_567J
7 x = .1_2
8 x = 1_2.
9
10 # output
11
12 x = 123456789
13 x = 1_2_3_4_5_6_7
14 x = 1e1
15 x = 0xB1ACC
16 x = 0.00_00_006
17 x = 12_34_567j
18 x = 0.1_2
19 x = 1_2.0