V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
bestehen
V2EX  ›  问与答

为啥我第一个会遍历全部,后面的只能遍历一个呢?我从后面开始遍历不行?

  •  
  •   bestehen · Aug 13, 2018 · 1183 views
    This topic created in 2814 days ago, the information mentioned may be changed or developed.
    a[1::]
    [2, 3, 4, 5, 6, 7, 8, 9]
    a[-1::]
    [9]
    0x5f
        1
    0x5f  
       Aug 13, 2018
    a[::-1]
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5676 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 01:33 · PVG 09:33 · LAX 18:33 · JFK 21:33
    ♥ Do have faith in what you're doing.