Iterate over a string and tuple : Tuple Loop : Tuple PYTHON examples


PYTHON examples » Tuple » Tuple Loop »

 

Iterate over a string and tuple


 

S = "lumberjack" 
T = ("and""I'm""okay"

for x in S: print x,                      # Iterate over a string
for x in T: print x,                      # Iterate over a tuple

   
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Tuple
» Tuple Loop


Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0