Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Iterating Through a Tuple

# Using a for loop to iterate through a tuple
for name in ('John', 'Kate'):
    print("Hello", name)
Source by liu-111.medium.com #
 
PREVIOUS NEXT
Tagged: #Python #Iterating #Through #Tuple
ADD COMMENT
Topic
Name
1+4 =