tutorium 06

This commit is contained in:
Nils Pukropp
2023-11-24 07:06:05 +01:00
parent 4a75aed57d
commit 1ac3e3d4fe
7 changed files with 533 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
from mylist import MyList
lst: MyList[int] = MyList()
lst.push_back(0)
lst.push_back(1)
print(lst) # [0, 1]
lst.push_back("haha not a number")
print(lst) # [0, 1, haha not a number]