GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Source-Code-from-Tutorials/Python/05_python.py at master · tmggr/Source-Code-from-Tutorials Expand file tree/ Copy path05_python.pyMore file actions 24 lines (24 loc) · 432 Bytes / Copy path05_python.pyFile metadata and controls24 lines (24 loc) · 432 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 >>> players = [29, 58, 66, 71, 87] >>> players[2] 66 >>> players[2] = 68 >>> players [29, 58, 68, 71, 87] >>> players + [90, 91, 98] [29, 58, 68, 71, 87, 90, 91, 98] >>> players [29, 58, 68, 71, 87] >>> players.append(120) >>> players [29, 58, 68, 71, 87, 120] >>> players[:2] [29, 58] >>> players[:2] = [0, 0] >>> players [0, 0, 68, 71, 87, 120] >>> players[:2] = [] >>> players [68, 71, 87, 120] >>> players[:] = [] >>> players [] |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |