planet=['수성','금성','지구','화성','목성','토성','천왕성','해왕성']print(planet)planet[3]='mars'print(planet)print(planet[2])
Standard input is empty
['수성', '금성', '지구', '화성', '목성', '토성', '천왕성', '해왕성'] ['수성', '금성', '지구', 'mars', '목성', '토성', '천왕성', '해왕성'] 지구
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!