fork download
  1. nomes = ['CARLOS', 'JOAO', 'PEDRO']
  2. idades = ['30', '25', '22']
  3. rows = len(nomes)
  4. for i in range(rows):
  5. print(nomes[i] + ":" + idades[i])
  6.  
  7. #https://pt.stackoverflow.com/q/414318/101
Success #stdin #stdout 0.02s 9172KB
stdin
Standard input is empty
stdout
CARLOS:30
JOAO:25
PEDRO:22