Mega Code Archive

 
Categories / Python / Tuple
 

Indexing a single-item tuple

print  ('x',)[0]