Untitled

Run Settings
LanguagePython
Language Version
Run Command
country=["China", "Japan", "France", "Germany", "United States",] print("1:",country[:]) # 顯示全部 print("2:", country [::2]) # 顯示全部元素,中間每隔一個元素 print("3:", country [::-1]) # 反轉串列 print("4:", country [::-2]) # 返轉串列,每隔一個元素取直。 print("5:", country [1::3]) # 從第2個元素開始顯示,每隔2個元素取直。
Editor Settings
Theme
Key bindings
Full width
Lines