author | Amit Sethi |
Tue, 09 Nov 2010 12:42:40 +0530 | |
changeset 415 | 8afa31ae6129 |
parent 406 | a534e9e79599 |
child 441 | 430035b678f7 |
permissions | -rw-r--r-- |
322 | 1 |
#+LaTeX_CLASS: beamer |
2 |
#+LaTeX_CLASS_OPTIONS: [presentation] |
|
3 |
#+BEAMER_FRAME_LEVEL: 1 |
|
4 |
||
5 |
#+BEAMER_HEADER_EXTRA: \usetheme{Warsaw}\useoutertheme{infolines}\usecolortheme{default}\setbeamercovered{transparent} |
|
6 |
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %8BEAMER_extra(Extra) |
|
7 |
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 :ETC |
|
8 |
#+OPTIONS: H:5 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t |
|
9 |
||
406
a534e9e79599
Completed basic data type based on review and improved on slides
Amit Sethi
parents:
322
diff
changeset
|
10 |
#+TITLE: Getting started with Lists |
322 | 11 |
#+AUTHOR: FOSSEE |
12 |
#+DATE: 2010-09-14 Tue |
|
13 |
#+EMAIL: info@fossee.in |
|
14 |
||
15 |
# \author[FOSSEE] {FOSSEE} |
|
16 |
||
17 |
# \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} |
|
18 |
# \date{} |
|
19 |
||
20 |
* Tutorial Plan |
|
21 |
** How to create lists |
|
22 |
** Structure of lists |
|
23 |
** Access list elements |
|
24 |
** Append elements to lists |
|
25 |
** Deleting elements from lists |
|
26 |
||
27 |
||
28 |
* Summary |
|
29 |
||
30 |
l=[1,2,3,4] |
|
31 |
l[-1] |
|
32 |
l.append(5) |
|
33 |
del(l[2]) |
|
34 |
len(l) |
|
35 |