#5287

BÀI TẬP :   86

  1. import math
  2. def nhap():
  3.     a,b,c=map(float,input().split())
  4.     return a,b,c
  5. #
  6. def chuvi(a,b,c):
  7.     return a+b+c
  8. #
  9. def dientich(a,b,c):
  10.     p=chuvi(a,b,c)/2
  11.     return math.sqrt(p*(p-a)*(p-b)*(p-c))
  12. #
  13. a,b,c=nhap()
  14. print(“%0.1f”%chuvi(a,b,c),”%0.3f”%dientich(a,b,c))

BÀI TẬP :   87

  1. def nhap():
  2.     n=int(input())
  3.     return n
  4. def chia5(n):
  5.     if n%5==0:
  6.         return “Yes”
  7.     else:
  8.         return “No”
  9. n=nhap()
  10. print(chia5(n))