Advertisement
Guest User

Untitled

a guest
Oct 1st, 2014
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. #!/usr/bin/python
  2. # -*- coding: iso-8859-1 -*-
  3.  
  4. import soma
  5.  
  6.  
  7. nu = raw_input ("digite o primeiro numero\n")
  8. num = raw_input ("digite o segundo numero\n")
  9.  
  10.  
  11. print "resultado da soma", soma.dois(nu, num)
  12.  
  13.  
  14. #!/usr/bin/python
  15. #-*- coding: iso-8859-1 -*-
  16.  
  17. def dois(num1,num2):
  18.     a = int(num1)
  19.     b = int(num2)
  20.     c = a + b
  21.     return c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement