An alternating current is more dangerous when compared to a DC.
AC with is more dangerous when compared to
An AC voltage and current with a low frequency of range are more dangerous than the AC voltage and current with a higher frequency of the range.
This does not mean that DC voltage is not dangerous but DC is dangerous but less dangerous than AC.
Even if the DC has the same value of voltage and current as AC, AC is more powerful than AC.
In the case of DC voltage and currents, It causes a single convulsive contraction (a jerky and uncontrollable process in which muscles become shorter and tighter) which pushes the victim away from the DC current or voltage source they touched.
In case of AC voltage and currents, it causes tetany (a condition marked by intermittent muscular spasms) or extended muscle contraction which leads to freezing the victim (or part(s) of the body) touching the AC voltage or current source.