x = int(input("nhap vao mot so giai thua: ")) print(x) giaithua = 1 for i in range(1, x + 1): giaithua = giaithua * i print(x,"! =", giaithua)