题目:中国2009年中国的GDP总量为49089.82亿美元,增长率为8%,
美国的GDP总量为142562.75亿美元,增长率为2%,
在两个GDP增长率保持2009年水平不变的情况下,
计算到哪一年中国的GDP总量有望超过美国?
gdp_cn = int(49089.82)
gdp_us = int(142562.75)
year = int(2009)
while(gdp_us > gdp_cn
题目:中国2009年中国的GDP总量为49089.82亿美元,增长率为8%,
美国的GDP总量为142562.75亿美元,增长率为2%,
在两个GDP增长率保持2009年水平不变的情况下,
计算到哪一年中国的GDP总量有望超过美国?
gdp_cn = int(49089.82)
gdp_us = int(142562.75)
year = int(2009)
while(gdp_us > gdp_cn