Bitcoin Forum
May 28, 2024, 12:26:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Here is a little python script to print amount of BTC in circulation each year  (Read 139 times)
remotemass (OP)
Legendary
*
Offline Offline

Activity: 1117
Merit: 1016


ASMR El Salvador


View Profile WWW
May 15, 2020, 03:37:15 PM
 #1

#coinsupply.py

year = 2009
reward = float(100)
total = float(0)
while (year < 2140):
    counter = 0
    reward = (reward/2)
    while (counter<4):
        counter += 1
        year += 1
        total += ((210000/4) * reward)
        print "Year",year,":",total,"(",(total/(21000000)*100),"% )"

# Output:
Year 2010 : 2625000.0 ( 12.5 % )
Year 2011 : 5250000.0 ( 25.0 % )
Year 2012 : 7875000.0 ( 37.5 % )
Year 2013 : 10500000.0 ( 50.0 % )
Year 2014 : 11812500.0 ( 56.25 % )
Year 2015 : 13125000.0 ( 62.5 % )
Year 2016 : 14437500.0 ( 68.75 % )
Year 2017 : 15750000.0 ( 75.0 % )
Year 2018 : 16406250.0 ( 78.125 % )
Year 2019 : 17062500.0 ( 81.25 % )
Year 2020 : 17718750.0 ( 84.375 % )
Year 2021 : 18375000.0 ( 87.5 % )
Year 2022 : 18703125.0 ( 89.0625 % )
Year 2023 : 19031250.0 ( 90.625 % )
Year 2024 : 19359375.0 ( 92.1875 % )
Year 2025 : 19687500.0 ( 93.75 % )
Year 2026 : 19851562.5 ( 94.53125 % )
Year 2027 : 20015625.0 ( 95.3125 % )
Year 2028 : 20179687.5 ( 96.09375 % )
Year 2029 : 20343750.0 ( 96.875 % )
Year 2030 : 20425781.25 ( 97.265625 % )
Year 2031 : 20507812.5 ( 97.65625 % )
Year 2032 : 20589843.75 ( 98.046875 % )
Year 2033 : 20671875.0 ( 98.4375 % )
Year 2034 : 20712890.625 ( 98.6328125 % )
Year 2035 : 20753906.25 ( 98.828125 % )
Year 2036 : 20794921.875 ( 99.0234375 % )
Year 2037 : 20835937.5 ( 99.21875 % )
Year 2038 : 20856445.3125 ( 99.31640625 % )
Year 2039 : 20876953.125 ( 99.4140625 % )
Year 2040 : 20897460.9375 ( 99.51171875 % )
Year 2041 : 20917968.75 ( 99.609375 % )
Year 2042 : 20928222.6562 ( 99.658203125 % )
Year 2043 : 20938476.5625 ( 99.70703125 % )
Year 2044 : 20948730.4688 ( 99.755859375 % )
Year 2045 : 20958984.375 ( 99.8046875 % )
Year 2046 : 20964111.3281 ( 99.8291015625 % )
Year 2047 : 20969238.2812 ( 99.853515625 % )
Year 2048 : 20974365.2344 ( 99.8779296875 % )
Year 2049 : 20979492.1875 ( 99.90234375 % )
Year 2050 : 20982055.6641 ( 99.9145507812 % )
Year 2051 : 20984619.1406 ( 99.9267578125 % )
Year 2052 : 20987182.6172 ( 99.9389648438 % )
Year 2053 : 20989746.0938 ( 99.951171875 % )
Year 2054 : 20991027.832 ( 99.9572753906 % )
Year 2055 : 20992309.5703 ( 99.9633789062 % )
Year 2056 : 20993591.3086 ( 99.9694824219 % )
Year 2057 : 20994873.0469 ( 99.9755859375 % )
Year 2058 : 20995513.916 ( 99.9786376953 % )
Year 2059 : 20996154.7852 ( 99.9816894531 % )
Year 2060 : 20996795.6543 ( 99.9847412109 % )
Year 2061 : 20997436.5234 ( 99.9877929688 % )
Year 2062 : 20997756.958 ( 99.9893188477 % )
Year 2063 : 20998077.3926 ( 99.9908447266 % )
Year 2064 : 20998397.8271 ( 99.9923706055 % )
Year 2065 : 20998718.2617 ( 99.9938964844 % )
Year 2066 : 20998878.479 ( 99.9946594238 % )
Year 2067 : 20999038.6963 ( 99.9954223633 % )
Year 2068 : 20999198.9136 ( 99.9961853027 % )
Year 2069 : 20999359.1309 ( 99.9969482422 % )
Year 2070 : 20999439.2395 ( 99.9973297119 % )
Year 2071 : 20999519.3481 ( 99.9977111816 % )
Year 2072 : 20999599.4568 ( 99.9980926514 % )
Year 2073 : 20999679.5654 ( 99.9984741211 % )
Year 2074 : 20999719.6198 ( 99.998664856 % )
Year 2075 : 20999759.6741 ( 99.9988555908 % )
Year 2076 : 20999799.7284 ( 99.9990463257 % )
Year 2077 : 20999839.7827 ( 99.9992370605 % )
Year 2078 : 20999859.8099 ( 99.999332428 % )
Year 2079 : 20999879.837 ( 99.9994277954 % )
Year 2080 : 20999899.8642 ( 99.9995231628 % )
Year 2081 : 20999919.8914 ( 99.9996185303 % )
Year 2082 : 20999929.9049 ( 99.999666214 % )
Year 2083 : 20999939.9185 ( 99.9997138977 % )
Year 2084 : 20999949.9321 ( 99.9997615814 % )
Year 2085 : 20999959.9457 ( 99.9998092651 % )
Year 2086 : 20999964.9525 ( 99.999833107 % )
Year 2087 : 20999969.9593 ( 99.9998569489 % )
Year 2088 : 20999974.966 ( 99.9998807907 % )
Year 2089 : 20999979.9728 ( 99.9999046326 % )
Year 2090 : 20999982.4762 ( 99.9999165535 % )
Year 2091 : 20999984.9796 ( 99.9999284744 % )
Year 2092 : 20999987.483 ( 99.9999403954 % )
Year 2093 : 20999989.9864 ( 99.9999523163 % )
Year 2094 : 20999991.2381 ( 99.9999582767 % )
Year 2095 : 20999992.4898 ( 99.9999642372 % )
Year 2096 : 20999993.7415 ( 99.9999701977 % )
Year 2097 : 20999994.9932 ( 99.9999761581 % )
Year 2098 : 20999995.6191 ( 99.9999791384 % )
Year 2099 : 20999996.2449 ( 99.9999821186 % )
Year 2100 : 20999996.8708 ( 99.9999850988 % )
Year 2101 : 20999997.4966 ( 99.9999880791 % )
Year 2102 : 20999997.8095 ( 99.9999895692 % )
Year 2103 : 20999998.1225 ( 99.9999910593 % )
Year 2104 : 20999998.4354 ( 99.9999925494 % )
Year 2105 : 20999998.7483 ( 99.9999940395 % )
Year 2106 : 20999998.9048 ( 99.9999947846 % )
Year 2107 : 20999999.0612 ( 99.9999955297 % )
Year 2108 : 20999999.2177 ( 99.9999962747 % )
Year 2109 : 20999999.3742 ( 99.9999970198 % )
Year 2110 : 20999999.4524 ( 99.9999973923 % )
Year 2111 : 20999999.5306 ( 99.9999977648 % )
Year 2112 : 20999999.6088 ( 99.9999981374 % )
Year 2113 : 20999999.6871 ( 99.9999985099 % )
Year 2114 : 20999999.7262 ( 99.9999986961 % )
Year 2115 : 20999999.7653 ( 99.9999988824 % )
Year 2116 : 20999999.8044 ( 99.9999990687 % )
Year 2117 : 20999999.8435 ( 99.9999992549 % )
Year 2118 : 20999999.8631 ( 99.9999993481 % )
Year 2119 : 20999999.8827 ( 99.9999994412 % )
Year 2120 : 20999999.9022 ( 99.9999995343 % )
Year 2121 : 20999999.9218 ( 99.9999996275 % )
Year 2122 : 20999999.9315 ( 99.999999674 % )
Year 2123 : 20999999.9413 ( 99.9999997206 % )
Year 2124 : 20999999.9511 ( 99.9999997672 % )
Year 2125 : 20999999.9609 ( 99.9999998137 % )
Year 2126 : 20999999.9658 ( 99.999999837 % )
Year 2127 : 20999999.9707 ( 99.9999998603 % )
Year 2128 : 20999999.9756 ( 99.9999998836 % )
Year 2129 : 20999999.9804 ( 99.9999999069 % )
Year 2130 : 20999999.9829 ( 99.9999999185 % )
Year 2131 : 20999999.9853 ( 99.9999999302 % )
Year 2132 : 20999999.9878 ( 99.9999999418 % )
Year 2133 : 20999999.9902 ( 99.9999999534 % )
Year 2134 : 20999999.9914 ( 99.9999999593 % )
Year 2135 : 20999999.9927 ( 99.9999999651 % )
Year 2136 : 20999999.9939 ( 99.9999999709 % )
Year 2137 : 20999999.9951 ( 99.9999999767 % )
Year 2138 : 20999999.9957 ( 99.9999999796 % )
Year 2139 : 20999999.9963 ( 99.9999999825 % )
Year 2140 : 20999999.9969 ( 99.9999999854 % )
Year 2141 : 20999999.9976 ( 99.9999999884 % )

{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!