DestroyerOfStars

programming 2

May 31st, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. x = float(input("Palun sisesta esimene arv: "))
  2. y = float(input("sisesta teine arv: "))
  3.  
  4. print("Arvude summa:", x + y)
  5. print("Arvude korrutis:", x * y)
  6. print("Esimese ja teise jagatis:", x / y)
  7. print("25% esimesest arvust:", x * 2.50)
  8.  
  9. if x == y:
  10. print("Arvud on võrdsed")
  11. else:
  12. print("Arvud on erinevad")
  13. if x > y:
  14. print("Esimene arv on suurem")
  15. else:
  16. print("Teine arv on suurem")
Add Comment
Please, Sign In to add comment