Use list as a stack: push onto stack,stackonto,L = []L.appe
Use list as a stack: push onto stack,stackonto,L = []L.appe
L = []L.append(1) # push onto stackL.append(2)print L
相关内容
- Zip three tuples,zipthreetuples,T1, T2, T3 =
- in a range,inrange,from math im
- apply function,apply,def func(x,
- keeps '\' (Back splash) literally,splashliterally,x
- Specifying exception type,,# try: nu
- Use mouse to draw a shape on canvas,shapecanvas,from Tkinter
- Content tests: isalpha, isdigit, etc,isalphaisdigit,S = 'spam' S
- Use raw input to read int value,rawinput,import sys,
- Line color,linecolor,from Tkinter
- A calculator,calculator,from Tkinter
评论关闭