15 lines
172 B
Python
15 lines
172 B
Python
from list import List
|
|
|
|
l = List()
|
|
for i in range(10):
|
|
l.add(i**2)
|
|
|
|
l.change(5, "Hallo")
|
|
l.print(5)
|
|
|
|
l.remove(5)
|
|
l.print(5)
|
|
|
|
l.printWhole()
|
|
|
|
print(l.len()) |