PAI 789 Advanced Policy Analysis > Lists (g03)

oath.py output

The list:
['we', 'will', 'ever', 'strive', 'for', 'the', 'ideals']

The length of the list is:
7

The passage is: strive for the ideals

List after append:
['we', 'will', 'ever', 'strive', 'for', 'the', 'ideals', 'and']

More oath:
['sacred', 'things', 'of', 'the', 'city']

Oath after extension:
['we', 'will', 'ever', 'strive', 'for', 'the', 'ideals', 'and', 'sacred', 'things', 'of', 'the', 'city']

Oath as a string:
we will ever strive for the ideals and sacred things of the city

Alphabetical oath:
['and', 'city', 'ever', 'for', 'ideals', 'of', 'sacred', 'strive', 'the', 'the', 'things', 'we', 'will']

Yoda:
code things we will

Site Index | Zoom | Admin
URL: https://wilcoxen.maxwell.insightworks.com/pages/6080.html
Peter J Wilcoxen, The Maxwell School, Syracuse University
Revised 02/13/2022