Module Import alias Import alias Assign NameStore Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr NameLoad Assign NameStore Num For NameStore NameLoad body AugAssignAdd NameStore SubscriptLoad NameLoad Index Num Print NameLoad Expr Call NameLoad ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Expr Call NameLoad ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad CompareIsNot SubscriptLoad NameLoad Index Num NameLoad Import alias Import alias Assign NameStore Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call NameLoad ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad CompareNotEq SubscriptLoad NameLoad Index Num Str Expr NameLoad Import alias Import alias ImportFrom alias alias ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore Num For NameStore NameLoad body AugAssignAdd NameStore NameLoad Expr Yield NameLoad decorator_list Assign NameStore Call NameLoad ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad FunctionDef arguments args defaults body While NameLoad body Expr Yield SubscriptLoad SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num NameLoad Index Num decorator_list Expr Call NameLoad Call NameLoad Call NameLoad Num
N/A N/A json N/A requests N/A pop_json_url https://gist.github.com/rdhyee/8511607/raw/f16257434352916574473e63612fcea55a0c1b1c/population_of_countries.json N/A pop_list N/A N/A N/A N/A requests get pop_json_url json N/A pop_list N/A total 0 N/A country pop_list N/A N/A total N/A country N/A 2 N/A total N/A N/A sum N/A N/A country N/A 2 N/A country pop_list N/A N/A sum N/A N/A country N/A 2 N/A country pop_list N/A N/A country N/A 0 None N/A json N/A requests N/A cia_json_url https://gist.github.com/rdhyee/8530164/raw/f8e842fe8ccd6e3bc424e3a24e41ef5c38f419e8/world_factbook_poulation.json N/A cia_list N/A N/A N/A N/A requests get cia_json_url json N/A cia_world_pop N/A sum N/A N/A r N/A 2 N/A r cia_list N/A N/A r N/A 1 European Union N/A cia_world_pop N/A bisect N/A random itertools repeat islice collections Counter cumsum N/A N/A lis N/A N/A N/A total 0 N/A x lis N/A N/A total x N/A N/A total N/A N/A world_pop N/A sum N/A N/A r N/A 2 N/A r pop_list N/A cum_pop N/A list N/A cumsum N/A N/A r N/A 2 N/A r pop_list random_country_weighted_by_pop N/A N/A N/A N/A N/A True N/A N/A N/A N/A N/A pop_list N/A N/A N/A bisect bisect_left cum_pop N/A N/A random randint 1 world_pop N/A 1 N/A N/A N/A Counter N/A islice N/A random_country_weighted_by_pop 5