1# tests for things that only Python 3.6 supports, needing floats
2
3# underscores in numeric literals
4print(1_000.1_8)
5print("%.2g" % 1e1_2)
6
7# underscore supported by int/float constructors
8print(float("1_2_3"))
9print(float("1_2_3.4"))
10print("%.2g" % float("1e1_3"))
11