DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+2 =
Submit