Python: Exemplos interessantes

From Wiki
Revision as of 14:17, 28 December 2017 by Ebasso (talk | contribs) (Criou a página com "= Example 1 = style1_col1_style2_col2 = [ ('s-green', '95%', 's-red', '8%'), ('s-yellow', '85%', 's-yellow', '70%'), ('s-green', '95%', 's-good', '95%') ]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Example 1

style1_col1_style2_col2 = [
   ('s-green', '95%', 's-red', '8%'),
   ('s-yellow', '85%', 's-yellow', '70%'),
   ('s-green', '95%', 's-good', '95%') 
]

for (style1, col1, style2, col2) in tag_style_title_folder:

print('%s%s', style1, col1, style2, col2)

Ver também