Added lecture 2026113
This commit is contained in:
parent
be356ccb59
commit
5b630435ae
27 changed files with 738 additions and 0 deletions
14
lecture20261103/lists01/names2.py
Normal file
14
lecture20261103/lists01/names2.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
firstNames = [ "Harry", "Rusty", "Katrina", "Jack", "Gimli","Shenanigans", "Mandy"]
|
||||
|
||||
print(firstNames)
|
||||
print(len(firstNames))
|
||||
|
||||
for firstName in firstNames:
|
||||
print(firstName)
|
||||
|
||||
firstNames.sort()
|
||||
print(firstNames)
|
||||
for firstName in firstNames:
|
||||
print(firstName)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue