Advertisement
LordKusa

Calculos

May 22nd, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.46 KB | None | 0 0
  1. def suma():
  2.     a=int(input("Ingrese valor: "))
  3.     b=int(input("Ingrese valor: "))
  4.     c=a+b
  5.     print(int(c))
  6.  
  7. def resta():
  8.     a=int(input("Ingrese valor: "))
  9.     b=int(input("Ingrese valor: "))
  10.     c=a-b
  11.     print(int(c))
  12.  
  13. def multiplicacion():
  14.     a=int(input("Ingrese valor: "))
  15.     b=int(input("Ingrese valor: "))
  16.     c=a*b
  17.     print(int(c))
  18.  
  19. def division():
  20.     a=int(input("Ingrese valor: "))
  21.     b=int(input("Ingrese valor: "))
  22.     c=a/b
  23.     print(int(c))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement