Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Loop Usage

words = ['cat', 'window', 'defenestrate']
for w in words:
	print(f'{w} has {len(w)} letters')
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #Python #Loop #Usage
ADD COMMENT
Topic
Name
6+7 =