名为colors的列表包含200种颜色,现在需要从第2种颜色开始,[br][/br] 每隔1种颜色间隔显示。 [br][/br] 下列哪个选型是正确的?
A: colors[1:2]
B: colors[::2]
C: colors[2:2]
D: colors[1::2]
A: colors[1:2]
B: colors[::2]
C: colors[2:2]
D: colors[1::2]
举一反三
- In the color circle, a primary color and the corresponding secondary<br/>color (such as red and green, yellow and purple, blue and orange) are<br/>called ( ). A: Intermediate colors B: Three primary colors C: Compound colors D: Complementary colors
- 以下代码的运行结果是____。 $colors = array("black","blue",4=>"red"); echo $colors[2];
- On formal occasions, the colors of all y...的颜色应该最好不超过_______ 种。
- How many colors are there in the business attire at most? A: 2 B: 3 C: 4 D: 5
- 6. Which of the following is NOT the way to use colors effectively? A: To use colors that highly contrast B: To use colors consistently C: To stick to a limited number of colors D: To use colors that make slides fancy