Permalink
Switch branches/tags
Nothing to show
Find file Copy path
65d4da6 May 15, 2015
1 contributor

Users who have contributed to this file

executable file 13 lines (11 sloc) 380 Bytes
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
classmates = ['Michael', 'Bob', 'Tracy']
print('classmates =', classmates)
print('len(classmates) =', len(classmates))
print('classmates[0] =', classmates[0])
print('classmates[1] =', classmates[1])
print('classmates[2] =', classmates[2])
print('classmates[-1] =', classmates[-1])
classmates.pop()
print('classmates =', classmates)