blob: de131fdaf33830202b89af34a9425316d0816714 (
plain)
1
2
3
4
5
6
7
8
9
|
try:
"%d" % 1
except TypeError:
print("SKIP")
raise SystemExit
for v in (0, 0x10, 0x1000, -0x10, -0x1000):
for sz in range(1, 12): print(("{:0%d,d}" % sz).format(v))
for sz in range(1, 12): print(("{:0%d_x}" % sz).format(v))
|