daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Feb 16th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. aluno = dict()
  2.  
  3. lista = []
  4.  
  5. for i in range(2):
  6.  
  7.     aluno['Nota'] = int(input(f'Digite o nota do aluno {i+1}: '))
  8.  
  9.     aluno['Matricula'] = int(input(f'Digite o numero da matricula: '))
  10.  
  11.     aluno['Frequencia'] = int(input('Digite a frequencia em porcentagem: '))
  12.  
  13.     print('--------------------------------------------')
  14.  
  15.     lista.append(aluno.copy())
  16.  
  17.  
  18. for k,v in lista[1].items():
  19.  
  20.     print(k,':',  v,)
  21.    
  22. for aluno in lista:
  23.     for k,v in aluno.items():
  24.         print(k,':', v)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top