Login
Help/Guide
About Trac
Preferences
Wiki
Timeline
Context Navigation
←
Previous Change
Wiki History
Next Change
→
Changes between
Version 56
and
Version 57
of
python
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
Oct 22, 2013, 11:33:21 AM (
11 years
ago)
Author:
Leon Kos
Comment:
Dictionary
Legend:
Unmodified
Added
Removed
Modified
python
v56
v57
105
105
d = b[1:] # pa do zadnjega
106
106
print c, b[-1]
107
108
tel = {'jack': 4098, 'sape': 4139, 4098 : 'janez'} # slovar (asociativni seznam)
109
ime = {4098 : 'jack'}
110
111
print tel['jack']
112
print tel[4098]
113
107
114
108
115
# Matrike