Advertisement
lucast0rres

Item A

Apr 2nd, 2016
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. #This program was crated by Lucas Pereira Torres de Araujo
  2. #Exercise 1 - FUP's Class - 2016.1
  3. #Item A
  4.  
  5. nota1 = input("Digite a primeira nota: ");
  6. nota2 = input("Digite a segunda nota: ");
  7.  
  8. media = ((2*nota1+3*nota2)/5);
  9.  
  10. print ("A média ponderada é igual a "), media;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement