Use Print to display tuples,displaytuples,chest = ('go
Use Print to display tuples,displaytuples,chest = ('go
chest = ('gold', 'gems')print 'You find a chest. It contains:'print chest
- in function for a string and a tuple,functiontuple,S,
- Iterate over a string and tuple,iteratetuple,S = 'lumb
- Create a tuple with some items and display with a for lo
- Tuple repitition Demo,tuplerepitition,print (1, 2)
- Dictionary assignment,assignment,x = {}y = xx
- Dictionary exists fetch and non-exist fetch,fetchnon-e
热门文章:
相关内容
- in function for a string and a tuple,functiontuple,S, T = 'lumb
- Iterate over a string and tuple,iteratetuple,S = 'lumberj
- Create a tuple with some items and display with a for loop,tupleite
- Tuple repitition Demo,tuplerepitition,print (1, 2)
- Dictionary assignment,assignment,x = {}y = xx
- Dictionary exists fetch and non-exist fetch,fetchnon-exist,Matrix =
- Dictionary update method,dictionarymethod,#The update
- Demonstrates string concatenation and repetition,,print 'You c
- For Statements to list the string length,statementslength,a = ['cat
- String replace Demo,stringreplacedemo,print 'tea f
评论关闭