def make_code_to_medal( input_countries, input_list ) :
( )
countries = '''AU/Australia/(-27,133)/(2,1,0)
AT/Austria/(47.33,13.33)/(4,6,6)
BY/Belarus/(53,28)/(1,1,1)
CA/Canada/(60,-95)/(14,7,5)
CN/China/(35,105)/(5,2,4)
HR/Croatia/(45.17,15.5)/(0,2,1)
CZ/Czech Republic/(49.75,15.5)/(2,0,4)
'''
code_to_location = []
print( '[ Before make_code_to_location ]\n' )
for i in code_to_location :
print( i )
make_code_to_location( countries, code_to_location )
print( '[ After make_code_to_location ]\n' )
for i in code_to_location :
print( i )
-------------------------------------------------------------------
̰ ϸ
[ Before make_code_to_location ]
[ After make_code_to_location ]
( 'AU', (-27.0, 133.0) )
( 'AT', (47.33, 13.33) )
̷
Ʃ ڰ Ǽ ǵ ؾϴµ ڵؾ ƿ ھ....... |