diff --git "a/python_\345\210\227\350\241\250\347\273\203\344\271\240" "b/python_\345\210\227\350\241\250\347\273\203\344\271\240" new file mode 100644 index 0000000000000000000000000000000000000000..182a960876ef0debf75bac6f73229d355934caef --- /dev/null +++ "b/python_\345\210\227\350\241\250\347\273\203\344\271\240" @@ -0,0 +1,13 @@ +heroes=[["妖狐","御馔津","二口女","鬼童丸"],["日和坊","海坊主","山兔","桃花妖"],["彼岸花","面灵气","玉藻前","荒"]] +print("射手有:", heroes[0]) +print("辅助有:", heroes[1]) +print("法师有:", heroes[2]) +print("添加射手:首无") +heroes[0].append("首无") +print(heroes[0]) +print("删除辅助:山兔") +heroes[1].remove("山兔") +print(heroes[1]) +print("替换法师:面灵气") +heroes[2][1]="鬼女红叶" +print(heroes[2]) \ No newline at end of file