-
Notifications
You must be signed in to change notification settings - Fork 0
/
imperatum.py,v
78 lines (63 loc) · 887 Bytes
/
imperatum.py,v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
head 1.3;
access;
symbols;
locks; strict;
comment @# @;
1.3
date 2012.04.26.23.34.51; author WangHeli; state Exp;
branches;
next 1.2;
1.2
date 2012.04.26.19.30.42; author WangHeli; state Exp;
branches;
next 1.1;
1.1
date 2012.04.26.19.27.20; author WangHeli; state Exp;
branches;
next ;
desc
@@
1.3
log
@more python learning. todo: add parts needed for running code
@
text
@values = []
pc = 0
def read(table, n, value):
if (len(table) < n):
table[n]=value
else:
table += [value]
n += 1
return
read(values,pc,"potato")
read(values,pc," is")
read(values,pc,"KAWAII!!!")
print values
def hello(this):
print "hello, world!\n"
return this
def main():
print hello("Again!")
if __name__ == '__main__':
main()
@
1.2
log
@test emacs git usage
@
text
@d1 23
a23 1
def read():
@
1.1
log
@Initial revision
@
text
@d1 1
a1 1
def read:
@