Lines Matching refs:print
67 void exercise(list x, object y, object print) in exercise() argument
73 print("after append:"); in exercise()
74 print(x); in exercise()
76 print("number of", y, "instances:", x.count(y)); in exercise()
78 print("number of 5s:", x.count(5)); in exercise()
81 print("after extend:"); in exercise()
82 print(x); in exercise()
83 print("index of", y, "is:", x.index(y)); in exercise()
84 print("index of 'l' is:", x.index("l")); in exercise()
87 print("after inserting 666:"); in exercise()
88 print(x); in exercise()
89 print("inserting with object as index:"); in exercise()
91 print(x); in exercise()
93 print("popping..."); in exercise()
95 print(x); in exercise()
97 print(x); in exercise()
99 print(x); in exercise()
101 print("removing", y); in exercise()
103 print(x); in exercise()
104 print("removing", 666); in exercise()
106 print(x); in exercise()
108 print("reversing..."); in exercise()
110 print(x); in exercise()
112 print("sorted:"); in exercise()
116 print(x); in exercise()
118 print("reverse sorted:"); in exercise()
124 print(x); in exercise()