Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- years = list(range(2001, 2018))
- usa = [
- 3_497_964,
- 4_009_603,
- 4_086_706,
- 5_307_130,
- 5_349_498,
- 6_117_990,
- 5_775_858,
- 5_201_765,
- 4_034_999,
- 4_958_272,
- 6_389_314,
- 6_931_749,
- 7_059_987,
- 7_780_518,
- 9_083_198,
- 8_727_221,
- 9_661_120,
- ]
- russia = [
- 941_182,
- 957_521,
- 1_134_160,
- 1_390_250,
- 1_701_387,
- 2_254_176,
- 2_584_577,
- 2_971_967,
- 2_095_626,
- 2_547_245,
- 2_936_394,
- 3_184_548,
- 3_472_146,
- 3_193_523,
- 1_977_749,
- 1_882_490,
- 2_184_855,
- ]
- plt.plot(years, usa, label='USA')
- plt.plot(years, russia, label='RUSSIA')
- plt.legend()
- plt.grid()
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement