Lecture 11/17/2026
This commit is contained in:
parent
07b9e54bf0
commit
bf3265103a
44 changed files with 1195 additions and 3 deletions
|
|
@ -18,4 +18,6 @@ print(addressDictionary.values())
|
|||
for Item in addressDictionary.keys():
|
||||
print(f"{Item:10s} {addressDictionary[Item]}")
|
||||
|
||||
pprint(addressDictionary)
|
||||
pprint(addressDictionary)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
# List element manipulation.
|
||||
|
||||
scores = [75, 95, 90, 87, 99, 100, 97, 100]
|
||||
#scores = [100,100,100,100,100,100, 100, 100]
|
||||
|
||||
numberOfScores = len(scores)
|
||||
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ print (dogNames," length = ",len(dogNames),"Type =",type(dogNames))
|
|||
print("\n")
|
||||
|
||||
for item in dogNames:
|
||||
# print(f"{item:14s} {type(item)}")
|
||||
print(f"{item} {type(item)}")
|
||||
print(f"{item:14s} {type(item)}")
|
||||
# print(f"{item} {type(item)}")
|
||||
|
||||
|
||||
print("\nDone!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue