2015-06-25 05:50:00 -04:00
|
|
|
try:
|
2022-08-18 02:57:45 -04:00
|
|
|
import json
|
2017-02-14 17:56:22 -05:00
|
|
|
except ImportError:
|
2022-08-18 02:57:45 -04:00
|
|
|
print("SKIP")
|
|
|
|
raise SystemExit
|
2015-06-25 05:50:00 -04:00
|
|
|
|
2020-03-22 22:26:08 -04:00
|
|
|
|
2015-06-25 05:50:00 -04:00
|
|
|
def my_print(o):
|
|
|
|
print("%.3f" % o)
|
2020-03-22 22:26:08 -04:00
|
|
|
|
2015-06-25 05:50:00 -04:00
|
|
|
|
|
|
|
my_print(json.loads("1.2"))
|
|
|
|
my_print(json.loads("1e2"))
|
|
|
|
my_print(json.loads("-2.3"))
|
|
|
|
my_print(json.loads("-2e3"))
|
2019-05-14 00:45:54 -04:00
|
|
|
my_print(json.loads("-2e+3"))
|
2015-06-25 05:50:00 -04:00
|
|
|
my_print(json.loads("-2e-3"))
|