fork download
  1. x = 0.1
  2. for i in range(100):
  3. x += 0.01
  4. print(x)
Success #stdin #stdout 0.02s 9984KB
stdin
Standard input is empty
stdout
0.11
0.12
0.13
0.14
0.15000000000000002
0.16000000000000003
0.17000000000000004
0.18000000000000005
0.19000000000000006
0.20000000000000007
0.21000000000000008
0.22000000000000008
0.2300000000000001
0.2400000000000001
0.2500000000000001
0.2600000000000001
0.27000000000000013
0.28000000000000014
0.29000000000000015
0.30000000000000016
0.31000000000000016
0.3200000000000002
0.3300000000000002
0.3400000000000002
0.3500000000000002
0.3600000000000002
0.3700000000000002
0.3800000000000002
0.39000000000000024
0.40000000000000024
0.41000000000000025
0.42000000000000026
0.43000000000000027
0.4400000000000003
0.4500000000000003
0.4600000000000003
0.4700000000000003
0.4800000000000003
0.4900000000000003
0.5000000000000003
0.5100000000000003
0.5200000000000004
0.5300000000000004
0.5400000000000004
0.5500000000000004
0.5600000000000004
0.5700000000000004
0.5800000000000004
0.5900000000000004
0.6000000000000004
0.6100000000000004
0.6200000000000004
0.6300000000000004
0.6400000000000005
0.6500000000000005
0.6600000000000005
0.6700000000000005
0.6800000000000005
0.6900000000000005
0.7000000000000005
0.7100000000000005
0.7200000000000005
0.7300000000000005
0.7400000000000005
0.7500000000000006
0.7600000000000006
0.7700000000000006
0.7800000000000006
0.7900000000000006
0.8000000000000006
0.8100000000000006
0.8200000000000006
0.8300000000000006
0.8400000000000006
0.8500000000000006
0.8600000000000007
0.8700000000000007
0.8800000000000007
0.8900000000000007
0.9000000000000007
0.9100000000000007
0.9200000000000007
0.9300000000000007
0.9400000000000007
0.9500000000000007
0.9600000000000007
0.9700000000000008
0.9800000000000008
0.9900000000000008
1.0000000000000007
1.0100000000000007
1.0200000000000007
1.0300000000000007
1.0400000000000007
1.0500000000000007
1.0600000000000007
1.0700000000000007
1.0800000000000007
1.0900000000000007
1.1000000000000008